【发布时间】:2016-07-15 13:47:24
【问题描述】:
在订阅我的网站时事通讯后,我将向用户发送电子邮件。但有时订阅电子邮件会进入垃圾邮件文件夹。我正在分享垃圾邮件测试结果的链接 - https://www.mail-tester.com/web-3339Sp 请检查上面给出的垃圾邮件测试器的结果(分析)并告诉我为什么我的邮件会进入垃圾邮件
这是我通过代码发送邮件的配置-->
$config = Array(
'protocol' => 'smtp',
'smtp_host' => 'mail.holaa.in',
'smtp_port' => 25,
'smtp_user' => 'noreply@holaa.in',
'smtp_pass' => 'XXXXXXXXX',
'mailtype' => 'html',
'charset' => 'iso-8859-1'
);
$this->load->library('email', $config);
$this->email->set_newline("\r\n");
$this->email->from('noreply@holaa.in');
$this->email->to($receiver);
$this->email->subject($subject);
$this->email->message($message);
$ans = $this->email->send();
提前致谢
【问题讨论】:
标签: php codeigniter email spam spam-prevention