Tips that prevent your mailing being marked as ‘spam’

Introduction

The last couple of weeks I was working on writing a mailing/newsletter system myself. One of the first questions that came up was “how do I prevent that my newsletter will be marked as spam”. Although this article has nothing to do with PHP I still like to put it in the spotlight. I will give some tips on how to avoid your mail being marked as spam, some you will know, others you won’t.

How is determined if my email is spam?
Mostly this is done by so called spam filters (server side or client side), some well known examples:

Some of them work with the Bayesian filter. This filter is one of the most accurate filters available. It will detect 98% of the spam mails by an algorithm. Essentially the filter will check if words occur a lot in spam mails but not in normal mails, if spam words occur a lot in a mail we can assume we are dealing with a spam mail. Before we can use this filter we need to build a database with legitimate words. This database is build by the filter, it monitors all outgoing mails from the user and the incoming mails. By checking which words are used in the outgoing mails from the user it can “learn” which words are legitimate. Each word will get a score, the score will represent the probability of the mail being a spam mail (the mail in which the word appears).

An example:
We take the word “casino”, let’s suppose this word occurs in 100 of the 500 spam mails and only in 5 of the 500 legitimate mails. The spam score for this word will be:

(100/500) / (5/500 + 100/500) = 0,95

Off course spam filters use a lot of other techniques too.

Tips to lower your spamscore
I hope you now have a more clear understanding of how the most spam filters work. So lets start with some tips.

  • don’t use words and phrases that are often used in spam mails, for a small list see the Microsoft Junk E-Mail Filter Readme, also the use of complete phrases in capitals is killing.
  • use a dedicated mailserver, why? Most filters will recognize the IP from which a mail is coming, if the mailserver IP is recognized as a server from which the filter is getting legitimate mails more often, it will work in your advantage
  • Don’t send any attachments with a mailing, virus scanners aren’t too happy about them, neither are spam filters
  • Send good content. Try to make the content of each newsletter as different as possible, filters will recognize texts that have occurred before. Also pay attention not to send just one big image and just a few lines of text, you will get a penalty for that one too. Find a balance between the amount of images, the size of them, and the amount of text.
  • Use a real mail address from which the newsletter is coming, filters will often check the domain (using an address with a domain like hotmail, gmail, yahoo,… doesn’t count).
  • Don’t use url shorteners, url shorteners like bit.ly or TinyUrl are often used by spammers

A last one, but nevertheless an important one “don’t prevent your mail being marked as spam”. Okay that sounds silly right? What I mean is that if you write a whole paragraph in your mailing about how someone can unsubscribe this will be seen as suspicious also avoid text like “this is not spam”.

More tests that will possibly increase your spam score can be found on the website of SpamAssassin. Some tests that caught my eye:

  • use of the tbody html tag
  • message body has many words used only once (this one increases your spam score a lot)
  • Invalid date in header (wrong EST timezone)

Keep the above in mind when writing your next mailing 😉 good luck!

Comments

4,643 responses to “Tips that prevent your mailing being marked as ‘spam’”

  1. didadj.com Avatar

    References:

    Steroids for cutting and size

    References:
    https://www.musicsound.ca/luannstiltner1

  2. EverettCudgE Avatar
    EverettCudgE

    Volvo спецтехніка https://linktr.ee/spetstekhnika екскаватори, фронтальні навантажувачі та дорожні машини. Надійність, ефективність і сучасні рішення для будівництва. Продаж, підбір і обслуговування техніки для бізнесу.

  3. https://parnian.app/jaimccord27103 Avatar

    References:

    Arnold schwarzenegger and steroids

    References:
    https://code.hpswk.com/jason00s728943

  4. Jeffreybrump Avatar
    Jeffreybrump

    mexican pharmacy what to buy: top 10 online pharmacy in india – pharmacy com canada

  5. 36.213.200.127 Avatar

    References:

    Illegal steroid pills

    References:
    https://actv.1tv.hk/@thaddelancey14?page=about

  6. qpxy.cn Avatar

    References:

    Anabolic steroids addictive

    References:
    https://git.slegeir.com/cathernchamp35

  7. DanielSpere Avatar
    DanielSpere

    mexico pharmacy price list: BorderValueRX – BorderValue RX

  8. www.broutube.com Avatar

    References:

    Real dbol for sale

    References:
    https://git.m.ctf.arrobe.fr/qgwjerry01844

  9. fancybox.qa Avatar

    References:

    Herbal steroids for bodybuilding

    References:
    https://gt.clarifylife.net/marlanorthrup

  10. https://megastream.pl Avatar

    References:

    How anabolic steroids work

    References:
    http://119.96.62.56:3000/floydodu878463

  11. JamesJep Avatar
    JamesJep
  12. qflirt.net Avatar

    References:

    Anavar prescription cost

    References:
    https://4realrecords.com/arleeneller284

  13. newchanpin.yuntangkeji.cn Avatar

    References:

    Best muscle growth steroids

    References:
    http://112.74.106.216:3000/jordanspivakov

  14. https://date.etogetherness.com/ Avatar

    References:

    Do steroids give you energy

    References:
    http://8.138.249.120:3000/lucilleroberso

  15. https://git.anibilag.ru Avatar

    References:

    Before and after anabolic steroids

    References:
    https://git.anibilag.ru/montygreenleaf

  16. gitea.manekenbrand.com Avatar

    References:

    The truth about steroids

    References:
    http://47.98.161.246:3000/savannahmcconn

  17. 74.48.174.77 Avatar

    References:

    Best steroid websites

    References:
    http://124.223.89.168:8080/refugiomarian

  18. choosy.cc Avatar

    References:

    Is the rock on steroids

    References:
    http://git.qniao.cn/austinpak1548

  19. hbcustream.com Avatar

    References:

    Deca before and after

    References:
    https://topgtv.com/@harrynorman544?page=about

  20. 213.171.25.1 Avatar

    References:

    Anabolic supplement review

    References:
    https://lordhub.vip/deanaperkins60

  21. code.wemediacn.com Avatar

    References:

    Analbolic steroids

    References:
    http://47.105.50.196/ricky892363999

  22. christianmail.tv Avatar

    References:

    Anabolic supplements bodybuilding

    References:
    http://47.98.161.246:3000/salbate1700816

  23. gitea.syn-assist.fr Avatar

    References:

    Bodybuilding supplements near me

    References:
    https://114.242.31.6:3000/muhammadcarste

  24. mycrewdate.com Avatar

    References:

    Anabolic steroids weight loss

    References:
    https://gitea.biboer.cn/louellacouncil

  25. CharlesJarry Avatar
    CharlesJarry

    NorthCareRx: canadian pharmacy world reviews – NorthCareRx

  26. www.annunciogratis.net Avatar

    References:

    Definition anabolic steroids

    References:
    http://8.129.11.230:7002/willyjarnigan

  27. http://49.232.143.93 Avatar

    References:

    Are steroids hormones

    References:
    http://1.13.196.248:3000/shay72q4108817

  28. 112.74.106.216 Avatar

    References:

    Metabolic vs anabolic

    References:
    https://aipod.app/reginald071290

  29. KevinBup Avatar
    KevinBup

    prednisone 4mg: corticosteroid medication online – prednisone 10mg tablet price

  30. KeithDep Avatar
    KeithDep

    https://amoxilfast.com/# bacterial infection medication

  31. Rayfordpag Avatar
    Rayfordpag

    where to get amoxicillin over the counter: generic amoxicillin online – amoxil 500mg tablets usa

  32. realestate.kctech.com.np Avatar

    References:

    What is the best steroid to use

    References:
    http://120.77.222.179:3000/franklyny32925

  33. git.ultra.pub Avatar

    References:

    Are anabolic steroids legal in canada

    References:
    https://lasigal.com/amee3165225626

  34. 61.190.74.90 Avatar

    References:

    Natural prednisone alternatives

    References:
    https://dating.vi-lab.eu/@quintonheane50

  35. 124.223.18.41 Avatar

    References:

    Gnc muscle builder

    References:
    http://47.121.119.78:3000/emilegosselin0

  36. globalhospitalitycareer.com Avatar

    References:

    How long do steroid withdrawal symptoms last

    References:
    https://soundrecords.zamworg.com/fredericz35435

  37. https://git.vezpi.com/ Avatar

    References:

    Arnold schwarzenegger steroid regimen

    References:
    https://git.dotb.cloud/jaydenbozeman6

  38. tageeapp.com Avatar

    References:

    Steroid female

    References:
    http://213.171.25.1:3000/jeffrybirdsong

  39. 4realrecords.com Avatar

    References:

    Building muscle pills

    References:
    https://xn--lpris-iua.nu/neilgatliff62

Leave a Reply

Your email address will not be published. Required fields are marked *