dongxin2734 2014-05-05 14:21
浏览 94
已采纳

使用PHPMailer从PHP发送电子邮件时出错

I need your help! I have a code in PHP for sending emails (PHPMailer version 5.2.7). Send email from PHP, I use this method usually. I explain me...

The mails sent go directly to SPAM folder to Hotmail, Gmail...

I have my own server with two domains (unique IP for two domains). In the domain1 the mails sent correctly (PHPMailer 5.2.7) and go directly to de inbox folder. In the domain2 the mails sent correctly but mails go directly to SPAM folder (PHPMailer 5.2.7)!!

Which is the difference between domain1 and domain2?? Have the same ip... I can do mailings to domain2 not reach the spam folder?

P.D.: Shipping method in PHPMailer is SMTP with user and pass verified.

  • 写回答

2条回答 默认 最新

  • download2565 2015-03-03 16:34
    关注

    There could be multiple factors that results in mail getting routed to spam folder. I don't think, it is anything to do with PHPmailer. It is something to do with your IP reputation, complaints, activity, user engagement and some other factors.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
  • donglei7152 2014-05-05 14:26
    关注

    One reason could be, that your mail server uses only one ip to send from. Maybe the the reverse lookup from that ip resolves to your domain1.

    Also related are dkim and spf records.

    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥20 powerbulider 导入excel文件,显示不完整
  • ¥20 #关于multisim绘图遇到的问题
  • ¥15 用keil调试程序保证结果进行led相关闪烁
  • ¥15 paddle训练自己的数据loss降不下去
  • ¥20 用matlab的pdetool解决以下三个问题
  • ¥15 单个福来轮的平衡与侧向滑动是如何做到的?
  • ¥15 嵌入式Linux固件,能直接告诉我crc32校验的区域在哪不,内核的校验我已经找到了,uboot没有
  • ¥20 h3c静态路要求有详细过程
  • ¥15 调制识别中输入为时频图,星座图,眼图等
  • ¥15 数据结构C++的循环、随机数问题