[eluser]iamronen[/eluser]
I am trying to send html emails.
The email class is initiated via a config file which contains:
Code:
$config['protocol'] = 'sendmail';
$config['mailtype'] = 'html';
$config['newline'] = "\n";
$config['crlf'] = "\n";
The message is created with a jquery-based rich text editor. The output is clean html and is stored in a database. The test message is:
Code:
<p>
this is the first line</p>
<p>
this is the secon dline</p>
<p>
and this is the third line</p>
and the resulting message:
n this is the first line
n
n this is the secon dline
n
n and this is the third line
n
I've tried using \r\n instead and it doesn't make any difference.
Any ideas would be greatly appreciated.