[eluser]Sinclair[/eluser]
Hi,
I'am with some problems in the emails class.
My application write the emails to the database and then I read the emails from the database to send them.
My configurations for Newline and Crlf are the following:
Code:
$config['protocol'] = 'sendmail';
$config['mailpath'] = '/usr/sbin/sendmail';
$config['charset'] = 'utf-8';
$config['wordwrap'] = TRUE;
$config['mailtype'] = 'text';
$config['newline'] = '\r\n';
$config['crlf'] = '\r\n';
1 - When I test sending the email like this, the newline and crlf works:
Code:
$this->email->message("Testing \n\nFFF");
This results in:
Quote:Testing
FFF
2 - But if I read from the database with the same content, does not work, the message appear like this:
Code:
$this->email->message($dados_email->email_msg);
This results in:
Quote:Testing \n\nFFF
What can I do to solve this problem?
Best Regards