Hello evrybody
i’ve a problem in sending email to yahoo .
i sent an email to yahoo Mail and gmail by email library but my email message didn’t shows in Yahoo mail it meaning Yahoo receives my email and shows email subject but email message body is empty but all everything in gmail in ok :D
it’s my code and configurations
email config
$config['protocol'] = 'mail';
$config['mailpath'] = '/usr/sbin/sendmail';
$config['mailtype'] = 'html';
$config['charset'] = 'utf-8';
$config['wordwrap'] = FALSE;
$config['priority'] = 1;
and my code
$msg= '
<center>
<table style="width: 80% ;border: 1px solid #3399FF;">
<tr>
<td style="text-align: center;font-family: Tahoma; font-size: small; direction: rtl; background-color: #66CCFF;">%title%</td>
</tr>
<tr>
<td style="text-align: right;font-family: Tahoma; font-size: small;">%text%</td>
</tr>
</table>
</center>
';
$msg = str_replace('%text%',$this->UTF_to_Unicode('سلام '),$msg);
$msg = str_replace('%title%',$this->UTF_to_Unicode('عنوان'),$msg);
$this->email->clear();
$this->email->from('test@example.com', 'تست ');
$this->email->to('my_email@yahoo.com');
$this->email->subject('سلام');
$this->email->message($msg);
$this->email->send();
what is my mistake ?
Best Regards
Ali
