这是一个棘手的问题,我一直依赖于技术,比如基于许可的电子邮件(即只发送给你有权发送的人),而不是公然使用垃圾邮件术语。

最近,我以编程方式发送的一些电子邮件开始被自动转移到别人的垃圾邮件文件夹中,我不知道该怎么办。

尽管这些特定的电子邮件并不是人类会标记为垃圾邮件的,具体来说,它们是包含许可密钥的电子邮件,人们已经花了很多钱购买,所以我不认为他们会认为它们是垃圾邮件

我认为这是一个很大的话题,在这个话题上我基本上是一个无知的傻瓜。


当前回答

您可以告诉用户在完成订单时将您的From地址添加到他们的联系人,如果他们这样做,将会有很大帮助。

否则,我将尝试从您的一些用户那里获取日志。有时,他们会在邮件的标题中详细说明为什么它被标记为垃圾邮件,您可以使用它来调整文本。

你还可以试试其他方法:

在主题中写上你的网站名称或地址 保持邮件中的所有链接指向你的域名(而不是email.com) 在邮件中写上地址或其他联系方式

其他回答

在英国,最好的做法是附上你公司的真实地址和注册号码。

这样,它是开放和诚实的,他们不太可能手动标记为垃圾邮件。

以下是之前回答中的几个要点:

Most important: Does the sender address ("From") belong to a domain that runs on the server you send the E-Mail from? If not, make it so. Never use sender addresses like xxx@gmail.com. User reply-to if you need replies to arrive at a different address. Is your server on a blacklist (e.g. check IP on spamhaus.org)? This is a possibility when you're on shared hosting when neighbours behave badly. Are mails filtered by a spam filter? Open an account with a freemailer that has a spam folder and find out. Also, try sending mail to an address without any spam filtering at all. Do you possibly need the fifth parameter "-f" of mail() to add a sender address? (See mail() command in the PHP manual) If you have access to log files, check those, of course. Do you check the "from:" address for possible bounce mails ("Returned to sender")? You can also set up a separate "errors-to" address.

你能做的最重要的事情是确保你要发送电子邮件的人在收到你的电子邮件时不太可能点击“垃圾邮件”按钮。所以,请遵循以下经验法则:

Make sure you have permission from the people you are sending email to. Don't ever send email to someone who did not request it from you. Clearly identify who you are right at the top of each message, and why the person is receiving the email. At least once a month, send out a reminder email to people on your list (if you are running a list), forcing them to opt back in to the list in order to keep receiving communications from you. Yes, this will mean your list gets shorter over time, but the up-side is that the people on your list are "bought in" and will be less likely to flag your email. Keep your content highly relevant and useful. Give people an easy way to opt out of further communications. Use an email sending service like SendGrid that works hard to maintain a good IP reputation. Avoid using short links - these are often blacklisted.

遵循这些经验法则将大有裨益。

我总是用: https://www.mail-tester.com/

它能给我关于发送电子邮件的技术方面的反馈。比如spf记录,DKIM, Spamassassin分数等等。即使我知道需要做什么,我还是不断地犯错误,mail-testster.com让我很容易找出哪里出了问题。

首先,您需要确保所需的电子邮件身份验证机制(如SPF和DKIM)到位。这两个是证明你是电子邮件的实际发件人,而不是真的被欺骗的重要方法。这降低了电子邮件被过滤为垃圾邮件的机会。

第二件事是,您可以根据不同的DNSBLs检查您的域名的反向DNS输出。在终端上使用以下简单命令:

  **dig a +short (domain-name).(blacklist-domain-name)**

  ie.  dig a +short example.com.dsn.rfc-clueless.org
  > 127.0.0.2

在上面的例子中,这意味着您的域名“example.com”被列入黑名单,但由于域设置合规(rfc-clueless.org列表域有合规问题)

注:我更喜欢multivalley和pepipost工具来检查域名列表。

从地址/回复到id应该是正确的,总是使用可见的退订按钮在你的电子邮件正文(这将帮助你的用户从你的电子邮件列表退出,而不损害你的域名声誉)