[eluser]carlosmupe[/eluser]
Dear, I have a problem with the email message body, this is the following, some characters of the email body are replaced by characters like "=", I could solve this, would be a problem with the configuration?, Attached I'm driving the code:
$config = array (
'protocol' => 'smtp',
'smtp_host' => SMTP_HOST,
'smtp_user' => SMTP_USER,
'smtp_pass' => SMTP_PASS,
'mailtype' => 'html',
'charset' => 'utf-8',
'crlf' => '\ r \ n',
);
$this-> load-> library ('email', $config);
$this-> email-> set_newline ("\r\n");
$this-> email-> set_wordwrap (FALSE);
$body = 'Dear (a)'. $ name. ''. $ ape.', <br> ';
$body = $body. 'registration has been received at Event: "'. $activity. '" which will be held on:'. $date. "in '. $location.' <br> ';
$body = $body. 'Atte., <br>';
$body = $body. '<b> NOTE: </ b> This email is automatically sent, please DO NOT RESPOND.';
$this-> email-> from (SMTP_FROM, SMTP_NOMBREFROM);
$this-> email-> to ($ pos_email);
$this-> email-> subject ('Notification Event Registration'. $ activity);
$this-> email-> message ($ body);
$result = $this-> email-> send ();
this is result:
Dear (a) xxxx,
Registration has been received at Ev=nt:"tester talks". which will be held on: 01/08/2012 in the l=s aromos 3221
Atte.,
NOTE: This email is sent automaticall=, Please DO NOT RESPOND.
thanks for all!!!