Welcome Guest, Not a member yet? Register   Sign In
library email problem with caracter equals "="
#1

[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!!!


Messages In This Thread
library email problem with caracter equals "=" - by El Forum - 08-01-2012, 02:26 PM
library email problem with caracter equals "=" - by El Forum - 08-01-2012, 02:34 PM
library email problem with caracter equals "=" - by El Forum - 08-01-2012, 02:37 PM
library email problem with caracter equals "=" - by El Forum - 08-01-2012, 02:53 PM
library email problem with caracter equals "=" - by El Forum - 08-01-2012, 02:56 PM
library email problem with caracter equals "=" - by El Forum - 08-01-2012, 03:02 PM
library email problem with caracter equals "=" - by El Forum - 08-01-2012, 03:14 PM
library email problem with caracter equals "=" - by El Forum - 08-02-2012, 06:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB