我正在向用户发送新的登录名和密码,但是当我在 Internet 上对我们网站的测试版本进行操作时,垃圾邮件刺客的垃圾邮件得分为 4.6。这意味着它被困住了。
电子邮件是带有链接图像的 HTML(因此营销部门有他们漂亮的字体和颜色)。
MailMessage() 对象似乎没有让我对消息的输出格式进行很多控制。
我可以采取哪些措施来降低垃圾邮件分数?
我用这个发送:
/* send an email */
MailMessage msg = new MailMessage();
msg.IsBodyHtml = true;
//msg.BodyEncoding = Encoding.UTF8;
msg.To.Add(new MailAddress(sToEmail));
msg.From = new MailAddress(sFromEmail);
msg.Subject = sEmailSubject;
msg.Body = sEmailTemplate;
try
{
client.Send(msg);
}
垃圾邮件分数是这样的:
X-Spam-Score: 4.6 (++++)
X-Spam-Report: Spam detection software report (4.6 points):
pts rule name description
---- ---------------------- --------------------------------------------------
1.8 HTML_IMAGE_ONLY_20 BODY: HTML: images with 1600-2000 bytes of words
0.0 HTML_MESSAGE BODY: HTML included in message
1.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
1.1 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag
0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS