duanpo2037 2013-06-04 03:00
浏览 37
已采纳

发送电子邮件codeigniter问题

I am trying to send emails to huge number of users (11000) and I can't send except 300 email per hour so I made that code:

$query_users = $this->db->query('SELECT * FROM `users_list` ');

    foreach ($query_users->result() as $row)
            {
                    $this->email->to($row->email);
                    $this->email->send();

                if($row->id % 300 ==0) { sleep(3600);}  

            }

but I got every hour 300 spam email in my account (as I am sending from it) saying:

A message that you sent was rejected by the local scanning code that checks incoming messages on this system. The following error was given:

This message was classified as SPAM and may not be delivered

Note: when I try to send email to specific person, it's sent correctly. I don't know how to solve this issue, any help?

  • 写回答

1条回答 默认 最新

  • dongmiao260399 2013-06-04 04:34
    关注

    For the most part, I don’t open e-mails where the Subject: field is blank unless I immediately recognize the Sender. Most non-subjected e-mails are spam. Not having a Subject: therefore makes you look spammy and generally will have your e-mail end up in my Junk or Trash folder when it is misidentified as spam.

    I had this happen several times the past couple of weeks and when I kindly let those who sent me the e-mails know that they should always use a Subject so they don’t look spammy and have spam filters send their e-mail (to me or anyone else) to trash without being read.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 SQL Server下载
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥15 python爬取bilibili校园招聘网站
  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件
  • ¥15 不同系统编译兼容问题
  • ¥100 三相直流充电模块对数字电源芯片在物理上它必须具备哪些功能和性能?
  • ¥30 数字电源对DSP芯片的具体要求