douzao5487 2013-11-17 21:06
浏览 78
已采纳

PHP邮件发送和黑名单[关闭]

I want to make an app with php, this app has a cron job and send mail daily.

Is there any possibility of falling to the Blacklist?(Domain)

PS: Mail only send people who confirmed app.

Sorry for my language i hope i explained it correctly.

  • 写回答

2条回答 默认 最新

  • dpz1983 2013-11-17 21:30
    关注

    Yes, your server (IP address) and/or domain name can become blacklisted for many reasons.

    If you automatically send lots of emails (for example a forum summary "What postings are new today?"), chances are high that one day some providers will block your mails or put them into the "spam folder".

    A few ideas on reasons for mails being blocked / treated as spam:

    • Sending lots of mails at once => Providers can recognize lots of very similar mails incoming in a short amount of time. That can be interpreted as a mass bulk mailing.
    • No correctly configured reverse DNS record for the IP address of the mail sending server
    • E-mail script and/or MTA not following standards / rules (for example wrong HELO, mistakes with the mail headers, ...)
    • Receivers of your mails (Customers) can click a "Treat this as spam" button. Many email providers offer such a button to allow their users to flag spam mails.
    • No "Unsubscribe" link in your mass mail. If your newsletters / notifications don't contain an "Unsubscribe" link (for example in the footer), provider-side filter software might award a negative rating.
    • Wrong SPF record. If your domain has an SPF record in the DNS, many providers will treat mails as spam if they don't originate from an allowed server (named in the SPF record).
    • Bad text to URL ratio. If your mass mails mainly contain links but not much text, filter software might declare it as link spam.
    • Scripts or other users on your webserver (shared hosting environment) really send spam (evil users or software vulnerabilities exploited by hackers). => The entire server IP or even the entire IP range of your provider can become blacklisted in DNSBLs.
    • Attachments featuring dangerous file formats (EXE, COM, PIF, SCR, ...) will cause mails to be blocked in many cases.
    • Keyword filters can block certain words like "Casino", names of certain pharmaceuticals, ...
    • Embedded JavaScript, VBScript, images from remote servers, flash or java applets, ... can negatively incluence your mail arrival rate.

    One approach might be using a different server (different IP address) than the web app server for your mass mailings and/or marketing mails. If a provider blocks the mails from your mass mail server's IP address, at least the important mails from your app server (e.g. registration confirmation mails), won't be affected.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启