如何降低我的电子邮件的垃圾邮件评分? [英] How can I lower the spam score of my email message?

查看:2994
本文介绍了如何降低我的电子邮件的垃圾邮件评分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在向用户发送一个新的登录和密码,但是当我在互联网上测试我们网站的测试版本时,垃圾邮件刺客的垃圾邮件评分为4.6。

I am sending a new logon and password to a user, however when I do on a test version of our site on the internet the Spam score is 4.6 by spam assassin. Which means it gets trapped.

电子邮件是HTML(所以营销部门有很好的字体和颜色)与链接的图像。

The Email is HTML (so the marketing dept have their nice fonts and colours) with a linked image.

MailMessage()对象似乎没有给我很大的控制消息的输出格式。

The MailMessage() object does not appear to give me a lot of control over the output format of the message.

我可以采取什么措施要降低垃圾邮件分数?

What measures could I take to lower the spam score?

我正在使用这个:

/* 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);
}

垃圾邮件分数是这样的:

The spam score is this:

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


推荐答案

p>使用 AlternateView 课程,您可以指定一个文本/纯体,并提供一个替代的HTML体营销男孩。即使文本部分只说你应该有一个html启用阅读器,垃圾邮件过滤器将会下降1.8点。

Using the AlternateView class, you can specify a text/plain body and provide an alternate html body for the marketing boys. Even if the text part only says that you should have an html enable reader, the spam filter will drop 1.8 points.

然后,如果您使用适当的标签启动HTML消息(只需要一个完整的html页面),你将下降2.8个点。

Then if you start the HTML message with a proper tag (just take a full html page), you will drop 2.8 poins.

您还可以包括 LinkedResource ,所以您可以发送图像而不显示附件,更好。

You can also include LinkedResources so you can send the image without showing attachments, much nicer.

这篇关于如何降低我的电子邮件的垃圾邮件评分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆