我怎样才能降低垃圾邮件分数我的电子邮件吗? [英] How can I lower the spam score of my email message?

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

问题描述

我送一个新的登录名和密码给用户,但是当我做我们的网站在互联网上的一个测试版的垃圾邮件评分是4.6垃圾邮件刺客。这意味着它被困住了。

该电子邮件是HTML(所以营销部门有自己漂亮的字体和颜色)与链接的图像。

MAILMESSAGE的()对象不出现给了我很多的控制权消息的输出格式。

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

我用这发送:

  / *发送电子邮件* /
味精MAILMESSAGE新= MAILMESSAGE();
msg.IsBodyHtml =真;
//msg.BodyEncoding = Encoding.UTF8;
msg.To.Add(新MailAddress(sToEmail));
msg.From =新的MailAddress(sFromEmail);
msg.Subject = sEmailSubject;
msg.Body = sEmailTemplate;
尝试
{
    client.Send(MSG);
}

垃圾邮件分数是这样的:

  X-垃圾邮件指数:4.6(++++)
的X垃圾-报告:垃圾邮件检测软件报告(4.6分):
    分规则名称描述
    ---- ---------------------- ------------------------ --------------------------
    1.8 HTML_IMAGE_ONLY_20体:HTML:图片1600-2000用字节字
    0.0 HTML_MESSAGE BODY:包含在HTML邮件
    1.7 MIME_HTML_ONLY BODY:信息只有text / html的MIME部分
    1.1 HTML_MIME_NO_HTML_TAG HTML,唯一的消息,但没有HTML标记
    0.1 RDNS_NONE由主机已交给可信的网络,没有RDNS


解决方案

使用的 AlternateView 类,你可以指定一个text / plain的身体和营销男孩提供替代HTML正文。即使文本部分只是说你应该有一个HTML使阅读器,垃圾邮件过滤器将下降1.8个百分点。

然后,如果你有一个适当的标签(只取一个完整的HTML页面),你将下降2.8 poins启动HTML邮件。

您还可以包括<一个href=\"http://msdn.microsoft.com/en-us/library/system.net.mail.linkedresource.aspx\">LinkedResources这样你就可以发送图像不显示附件,更漂亮。

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.

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

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?

I am sending using this:

/* 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

解决方案

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.

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

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

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

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