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

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

  1. MichaelGab Avatar
    MichaelGab

    http://formulinepharmacy.com/# trustworthy online pharmacy

  2. Peterwoxia Avatar
    Peterwoxia

    canadian drug pharmacy: SteadyMeds pharmacy – SteadyMeds pharmacy

  3. movieplays.net Avatar

    References:

    Casino barcelona online

    References:
    https://gitee.planhomecloud.cn/jordandelargie

  4. Marvinprilk Avatar
    Marvinprilk

    SteadyMeds pharmacy SteadyMeds pharmacy SteadyMeds pharmacy

  5. Thomasgow Avatar
    Thomasgow

    SteadyMeds: canadian pharmacy drugs online – SteadyMeds pharmacy

  6. videowala.xyz Avatar

    References:

    Taj mahal casino

    References:
    https://spinvai.com/robbyh98090775

  7. git.automathon.org Avatar

    References:

    Canadian online casinos

    References:
    http://gitea.jb1000.com:88/greggcountryma

  8. git.sunlix.one Avatar

    References:

    How do slot machines work

    References:
    https://friztty.com/@cleo7481204065

  9. WilliamRaw Avatar
    WilliamRaw

    ΠŸΠΎΠ»ΡƒΡ‡ΠΈΡ‚ΡŒ ΠΊΠ°ΠΊ ΠΌΠ°ΡΡˆΡ‚Π°Π±ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒ Snapchat Ρ‚Ρ€Π°Ρ„ΠΈΠΊ Π±Π΅Π· Π±Π»ΠΎΠΊΠΈΡ€ΠΎΠ²ΠΎΠΊ β€” это Π³Π»Π°Π²Π½Ρ‹ΠΉ вопрос, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΌ Π·Π°Π΄Π°ΡŽΡ‚ΡΡ Π½ΠΎΠ²ΠΈΡ‡ΠΊΠΈ Π² Π°Ρ€Π±ΠΈΡ‚Ρ€Π°ΠΆΠ΅ послС ΠΏΠ΅Ρ€Π²Ρ‹Ρ… ΡƒΡΠΏΠ΅ΡˆΠ½Ρ‹Ρ… ΠΊΠ°ΠΌΠΏΠ°Π½ΠΈΠΉ. Snapchat дСмонстрируСт Π±ΠΎΠ»Π΅Π΅ лояльноС ΠΎΡ‚Π½ΠΎΡˆΠ΅Π½ΠΈΠ΅ ΠΊ сСрым вСртикалям ΠΏΠΎ ΡΡ€Π°Π²Π½Π΅Π½ΠΈΡŽ с Meta ΠΈ Google, Π½ΠΎ ΠΏΡ€ΠΈ этом Π΅Π³ΠΎ Π°Π»Π³ΠΎΡ€ΠΈΡ‚ΠΌ Π±Π»ΠΎΠΊΠΈΡ€ΠΎΠ²ΠΊΠΈ остаётся нСпрСдсказуСм, Ссли Π½Π΅ Π·Π½Π°Ρ‚ΡŒ Π΅Ρ‘ Π»ΠΎΠ³ΠΈΠΊΡƒ. ΠœΠ°Ρ‚Π΅Ρ€ΠΈΠ°Π» ΠΏΠΎΠΊΠ°Π·Ρ‹Π²Π°Π΅Ρ‚ ΡΡ‚Ρ€Π°Ρ‚Π΅Π³ΠΈΡŽ ΠΏΠ»Π°Π²Π½ΠΎΠ³ΠΎ увСличСния Π±ΡŽΠ΄ΠΆΠ΅Ρ‚Π°: с Π½Π°Ρ‡Π°Π»ΡŒΠ½ΠΎΠ³ΠΎ $50 Π² дСнь Π΄ΠΎ $500+, ΠΎΠΏΡ‚ΠΈΠΌΠ°Π»ΡŒΠ½Ρ‹Π΅ ΠΈΠ½Ρ‚Π΅Ρ€Π²Π°Π»Ρ‹ ΠΌΠ΅ΠΆΠ΄Ρƒ ΠΌΠ°ΡΡˆΡ‚Π°Π±ΠΈΡ€ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΠΈ ΠΏΡ€ΠΈΠ·Π½Π°ΠΊΠΈ приблиТСния Π±Π°Π½Π°. ΠšΡ€ΠΎΠΌΠ΅ Ρ‚ΠΎΠ³ΠΎ, Π² ΡΡ‚Π°Ρ‚ΡŒΠ΅ раскрываСтся Ρ‚Π΅Ρ…Π½ΠΈΠΊΠ° использования Ρ€Π°Π·Π»ΠΈΡ‡Π½Ρ‹Ρ… Ρ„ΠΎΡ€ΠΌΠ°Ρ‚ΠΎΠ² ΠΊΡ€Π΅Π°Ρ‚ΠΈΠ²ΠΎΠ² ΠΈ ΠΏΠ΅Ρ€Π΅ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΌΠ΅ΠΆΠ΄Ρƒ Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚Π°ΠΌΠΈ для ΠΌΠΈΠ½ΠΈΠΌΠΈΠ·Π°Ρ†ΠΈΠΈ риска Ρ„ΠΈΠ»ΡŒΡ‚Ρ€Π°Ρ†ΠΈΠΈ. Для Π°Ρ€Π±ΠΈΡ‚Ρ€Π°ΠΆΠ½ΠΈΠΊΠΎΠ², ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ хотят ΠΏΠΎΡΡ‚Ρ€ΠΎΠΈΡ‚ΡŒ ΡΡ‚Π°Π±ΠΈΠ»ΡŒΠ½Ρ‹ΠΉ ΠΏΠΎΡ‚ΠΎΠΊ ΠΈΠ· Snapchat, эти Ρ‚Π°ΠΊΡ‚ΠΈΠΊΠΈ станут основой долгосрочной стратСгии роста.

  10. git.cymnb.com Avatar

    References:

    Lord of the rings slot machine

    References:
    https://myhealthypunjab.com/@nanmaum5105305?page=about

  11. gitea.goldendeliverer.com Avatar

    References:

    Online casino software

    References:
    https://www.propose.lk/@jadasmiley187

  12. MichaelGab Avatar
    MichaelGab

    https://formulinepharmacy.com/# legit online pharmacy

  13. Peterwoxia Avatar
    Peterwoxia

    online pharmacy no prescription: FormuLine Pharmacy – best online pharmacy no prescription

  14. git.flymiracle.com Avatar

    References:

    Mahjong 3d more time

    References:
    https://gitea.scivigi.com/theresekroger2

  15. https://clipbeans.com/ Avatar

    References:

    Online casino belgie

    References:
    https://git.0935e.com/irenesalmon613

  16. https://gitea.cfpoccitan.org/ Avatar

    References:

    Gold strike casino tunica ms

    References:
    https://datingmywish.com/@kathaleenn6180

  17. Thomasgow Avatar
    Thomasgow

    AccessBridge Pharmacy: AccessBridge – mexican drug store

  18. kayesbamusic.com Avatar

    References:

    Cambodia casino

    References:
    https://gitea.hadi.es/kaylapetro3300

Leave a Reply

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