Avoiding Spam Filter on Sending HTML Mail

 Hi guys, it's me your host.

is there a moment in your life where you want to send emails, but want to avoid being blocked by Spam Filter on Destination Mail server .

hey there's some tricks come in rescue which i also experienced.

you see you've to make Two kinds of alternate view, one for view as plain text the other is HTML.

System.Net.Mail.MailMassage

                    d.Email.AlternateViews.Clear();
                    HtmlFile ConverterHtml = new HtmlFile(pathtowrite+ "temp.html");
                    d.Email.AlternateViews.Add(ConverterHtml.ConvertToMIME());
                    System.Net.Mail.AlternateView plainView = System.Net.Mail.AlternateView.CreateAlternateViewFromString
                    (System.Text.RegularExpressions.Regex.Replace(hasilhtml, @"<(.|\n)*?>", string.Empty), null, "text/plain");
                    d.Email.AlternateViews.Add(plainView);
                    d.MailTo = penerima.email;

 and they just loved it and let you pass.

Chiao

Share this post: | | | |
Published Wednesday, April 23, 2008 3:37 PM by cipto
Filed under:

Comments

# re: Avoiding Spam Filter on Sending HTML Mail

Thursday, May 01, 2008 9:57 AM by Chris Lang

The only thing I would add to your list is to ask your readers to whitelist your email address.

I built a new free email instruction generator that will create user whitelist instructions for all the ISPs, mobile devices  and most of the popular client side spam filters.

www.emaildeliveryjedi.com/email-whitelist.php