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

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

  1. LarryViofs Avatar
    LarryViofs

    Neuro Relief USA: neurontin brand name 800mg – Neuro Relief USA

  2. help-wifi-155 Avatar

    Π‘ΠΏΡ€Π°Π²ΠΎΡ‡Π½Ρ‹ΠΉ IT-ΠΏΠΎΡ€Ρ‚Π°Π» https://help-wifi.ru ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠΈΡ€ΠΎΠ²Π°Π½ΠΈΠ΅, администрированиС, ΠΊΠΈΠ±Π΅Ρ€Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡ‚ΡŒ, сСти ΠΈ ΠΎΠ±Π»Π°Ρ‡Π½Ρ‹Π΅ Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ. Π˜Π½ΡΡ‚Ρ€ΡƒΠΊΡ†ΠΈΠΈ, Π³Π°ΠΉΠ΄Ρ‹, Ρ€Π΅ΡˆΠ΅Π½ΠΈΡ Ρ‚ΠΈΠΏΠΎΠ²Ρ‹Ρ… ошибок ΠΈ ΠΎΡ‚Π²Π΅Ρ‚Ρ‹ Π½Π° вопросы спСциалистов.

  3. LinwoodTwirl Avatar
    LinwoodTwirl

    Iver Therapeutics: Iver Therapeutics – Iver Therapeutics

  4. zenwriting.net Avatar

    References:

    Anabolic steroids for sale online

    References:
    zenwriting.net

  5. TracyThics Avatar
    TracyThics
  6. mechfac 298 Avatar

    Новости ΠΈ ΠΎΠ±Π·ΠΎΡ€Ρ‹ https://mechfac.ru ΠΎ ΠΌΠΈΡ€Π΅ Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ, экономики, ΠΊΡ€ΠΈΠΏΡ‚ΠΎΡ€Ρ‹Π½ΠΊΠ°, ΠΊΡƒΠ»ΡŒΡ‚ΡƒΡ€Ρ‹ ΠΈ ΡˆΠΎΡƒ-бизнСса. Всё, Ρ‡Ρ‚ΠΎ Π²Π°ΠΆΠ½ΠΎ Π·Π½Π°Ρ‚ΡŒ ΠΎ соврСмСнном общСствС.

  7. autotonkosti-520 Avatar

    ВсС ΠΎΠ± Π°Π²Ρ‚ΠΎΠ·Π°ΠΊΠΎΠ½Π°Ρ… https://autotonkosti.ru ΠΈ ΡˆΡ‚Ρ€Π°Ρ„Π°Ρ… β€” ΠΏΡ€Π°Π²ΠΈΠ»Π° Π΄ΠΎΡ€ΠΎΠΆΠ½ΠΎΠ³ΠΎ двиТСния, Ρ€Π°Π±ΠΎΡ‚Π° Π“Π˜Π‘Π”Π”, страхованиС ΠžΠ‘ΠΠ“Πž, постановка Π½Π° ΡƒΡ‡Π΅Ρ‚ ΠΈ ΠΎΡ„ΠΎΡ€ΠΌΠ»Π΅Π½ΠΈΠ΅ сдСлки ΠΊΡƒΠΏΠ»ΠΈ-ΠΏΡ€ΠΎΠ΄Π°ΠΆΠΈ Π°Π²Ρ‚ΠΎ.

  8. LinwoodTwirl Avatar
    LinwoodTwirl

    stromectol without prescription: Iver Therapeutics – ivermectin 4 tablets price

  9. LarryViofs Avatar
    LarryViofs

    Neuro Relief USA: neurontin 600 mg capsule – Neuro Relief USA

  10. parnas 500 Avatar

    Онлайн новостной ΠΏΠΎΡ€Ρ‚Π°Π» https://parnas42.ru с Π°ΠΊΡ‚ΡƒΠ°Π»ΡŒΠ½Ρ‹ΠΌΠΈ новостями, экспСртными коммСнтариями ΠΈ Π³Π»Π°Π²Π½Ρ‹ΠΌΠΈ событиями дня. Быстро, ΠΎΠ±ΡŠΠ΅ΠΊΡ‚ΠΈΠ²Π½ΠΎ ΠΈ ΠΏΠΎ сущСству.

  11. webof-sar-819 Avatar

    Новостной ΠΏΠΎΡ€Ρ‚Π°Π» https://webof-sar.ru свСТиС события России ΠΈ ΠΌΠΈΡ€Π°, ΠΏΠΎΠ»ΠΈΡ‚ΠΈΠΊΠ°, экономика, общСство, Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΈ ΠΊΡƒΠ»ΡŒΡ‚ΡƒΡ€Π°. ΠžΠΏΠ΅Ρ€Π°Ρ‚ΠΈΠ²Π½Ρ‹Π΅ ΠΏΡƒΠ±Π»ΠΈΠΊΠ°Ρ†ΠΈΠΈ ΠΈ Π°Π½Π°Π»ΠΈΡ‚ΠΈΠΊΠ° ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ дСнь.

  12. TracyThics Avatar
    TracyThics
  13. writeablog.net Avatar

    References:

    Female steroids before and after

    References:
    writeablog.net

  14. LinwoodTwirl Avatar
    LinwoodTwirl

    Smart GenRx USA: Smart GenRx USA – Smart GenRx USA

  15. TracyThics Avatar
    TracyThics
  16. LarryViofs Avatar
    LarryViofs

    Smart GenRx USA: Smart GenRx USA – Smart GenRx USA

  17. Leonarddeark Avatar
    Leonarddeark

    Iver Therapeutics ivermectin 18mg Iver Therapeutics

  18. LinwoodTwirl Avatar
    LinwoodTwirl

    order zoloft: zoloft cheap – zoloft tablet

  19. LinwoodTwirl Avatar
    LinwoodTwirl

    Iver Therapeutics: Iver Therapeutics – ivermectin cream cost

  20. LarryViofs Avatar
    LarryViofs

    zoloft no prescription: sertraline zoloft – zoloft without rx

  21. TracyThics Avatar
    TracyThics
  22. stroganov-938 Avatar

    ΠœΠΈΡ€ΠΎΠ²Ρ‹Π΅ новости https://m-stroganov.ru ΠΎ тСхнологиях ΠΈ ΠΊΡ€ΠΈΠΏΡ‚ΠΎΠ²Π°Π»ΡŽΡ‚Π°Ρ…, Π·Π΄ΠΎΡ€ΠΎΠ²ΡŒΠ΅ ΠΈ ΠΏΡ€ΠΎΠΈΡΡˆΠ΅ΡΡ‚Π²ΠΈΡΡ…, ΠΏΡƒΡ‚Π΅ΡˆΠ΅ΡΡ‚Π²ΠΈΡΡ… ΠΈ Ρ‚ΡƒΡ€ΠΈΠ·ΠΌΠ΅. Π‘Π²Π΅ΠΆΠΈΠ΅ ΠΏΡƒΠ±Π»ΠΈΠΊΠ°Ρ†ΠΈΠΈ ΠΈ экспСртныС ΠΎΠ±Π·ΠΎΡ€Ρ‹ ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ дСнь.

  23. EddieScern Avatar
    EddieScern

    ПослСдниС обновлСния: https://parfum-trade.ru/selectiv/gold_leather_tester/

  24. TracyThics Avatar
    TracyThics
  25. LinwoodTwirl Avatar
    LinwoodTwirl

    which online pharmacy is reliable: Smart GenRx USA – canada pharmacy not requiring prescription

  26. hack.allmende.io Avatar

    References:

    Strongest legal steroid

    References:
    hack.allmende.io

  27. Gilbertphymn Avatar
    Gilbertphymn

    Π₯ΠΎΡ‡Π΅ΡˆΡŒ ΠΏΡ€ΠΎΠ΄Π°Ρ‚ΡŒ Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡ‚ΡŒ? срочно ΠΏΡ€ΠΎΠ΄Π°Ρ‚ΡŒ ΠΊΠ²Π°Ρ€Ρ‚ΠΈΡ€Ρƒ Π² МосквС экспСртная ΠΎΡ†Π΅Π½ΠΊΠ°, ΠΏΠΎΠ΄Π³ΠΎΡ‚ΠΎΠ²ΠΊΠ° ΠΊ ΠΏΡ€ΠΎΠ΄Π°ΠΆΠ΅, ΡŽΡ€ΠΈΠ΄ΠΈΡ‡Π΅ΡΠΊΠ°Ρ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠ° ΠΈ сопровоТдСниС Π½Π° всСх этапах сдСлки.

  28. blago-mir 23 Avatar

    ВсС самоС интСрСсноС послСдниС новости с Π»Π΅Π½Ρ‚ΠΎΠΉ послСдних событий, Π°Π½Π°Π»ΠΈΡ‚ΠΈΠΊΠΎΠΉ ΠΈ коммСнтариями экспСртов. ΠžΠΏΠ΅Ρ€Π°Ρ‚ΠΈΠ²Π½Ρ‹Π΅ ΠΏΡƒΠ±Π»ΠΈΠΊΠ°Ρ†ΠΈΠΈ ΠΈ Π°Π½Π°Π»ΠΈΡ‚ΠΈΠΊΠ° ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ дСнь.

  29. Leonarddeark Avatar
    Leonarddeark

    Neuro Relief USA Neuro Relief USA neurontin tablets 300 mg

  30. LarryViofs Avatar
    LarryViofs

    Smart GenRx USA: low cost online pharmacy – Smart GenRx USA

  31. TracyThics Avatar
    TracyThics
  32. LinwoodTwirl Avatar
    LinwoodTwirl

    canada drug pharmacy: humana online pharmacy – Smart GenRx USA

  33. TracyThics Avatar
    TracyThics
  34. LarryViofs Avatar
    LarryViofs

    Smart GenRx USA: uk pharmacy no prescription – Smart GenRx USA

  35. RobertMAM Avatar
    RobertMAM

    НуТСн Π½ΠΎΠ²Ρ‹ΠΉ Ρ‚Π΅Π»Π΅Ρ„ΠΎΠ½? iphone спб ΠΏΠΎ Π²Ρ‹Π³ΠΎΠ΄Π½ΠΎΠΉ Ρ†Π΅Π½Π΅. Π˜Π½Ρ‚Π΅Ρ€Π½Π΅Ρ‚?ΠΌΠ°Π³Π°Π·ΠΈΠ½ i4you ΠΏΡ€Π΅Π΄Π»Π°Π³Π°Π΅Ρ‚ ΠΎΡ€ΠΈΠ³ΠΈΠ½Π°Π»ΡŒΠ½Ρ‹Π΅ устройства Apple с ΠΎΡ„ΠΈΡ†ΠΈΠ°Π»ΡŒΠ½ΠΎΠΉ Π³Π°Ρ€Π°Π½Ρ‚ΠΈΠ΅ΠΉ производитСля β€” ΠΎΡ‚ Π³ΠΎΠ΄Π° ΠΈ Π±ΠΎΠ»Π΅Π΅. Π˜Π½Ρ‚Π΅Ρ€Π½Π΅Ρ‚?ΠΌΠ°Π³Π°Π·ΠΈΠ½ i4you: ΠΎΡ€ΠΈΠ³ΠΈΠ½Π°Π»ΡŒΠ½Ρ‹Π΅ устройства Apple с Π³Π°Ρ€Π°Π½Ρ‚ΠΈΠ΅ΠΉ ΠΎΡ‚ Π³ΠΎΠ΄Π°. Π’Ρ‹Π±ΠΈΡ€Π°ΠΉΡ‚Π΅ Π»ΡƒΡ‡ΡˆΠ΅Π΅!

  36. Scottcox Avatar
    Scottcox

    Новый Π‘ΠΌΠ°Ρ€Ρ‚Ρ„ΠΎΠ½ Apple iPhone 17 ΠΊΡƒΠΏΠΈΡ‚ΡŒ Π² БПб ΡƒΠΆΠ΅ Π² ΠΏΡ€ΠΎΠ΄Π°ΠΆΠ΅ Π² Π‘Π°Π½ΠΊΡ‚?ΠŸΠ΅Ρ‚Π΅Ρ€Π±ΡƒΡ€Π³Π΅! Π’ ΠΈΠ½Ρ‚Π΅Ρ€Π½Π΅Ρ‚?ΠΌΠ°Π³Π°Π·ΠΈΠ½Π΅ i4you вас ΠΆΠ΄Ρ‘Ρ‚ ΡˆΠΈΡ€ΠΎΠΊΠΈΠΉ Π²Ρ‹Π±ΠΎΡ€ ΠΎΡ€ΠΈΠ³ΠΈΠ½Π°Π»ΡŒΠ½Ρ‹Ρ… устройств Apple ΠΏΠΎ Π²Ρ‹Π³ΠΎΠ΄Π½Ρ‹ΠΌ Ρ†Π΅Π½Π°ΠΌ. На ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ смартфон дСйствуСт ΠΎΡ„ΠΈΡ†ΠΈΠ°Π»ΡŒΠ½Π°Ρ гарантия ΠΎΡ‚ производитСля сроком ΠΎΡ‚ Π³ΠΎΠ΄Π° β€” Π²Ρ‹ ΠΌΠΎΠΆΠ΅Ρ‚Π΅ Π±Ρ‹Ρ‚ΡŒ ΡƒΠ²Π΅Ρ€Π΅Π½Ρ‹ Π² качСствС ΠΈ долговСчности ΠΏΠΎΠΊΡƒΠΏΠΊΠΈ.

  37. LinwoodTwirl Avatar
    LinwoodTwirl

    zoloft cheap: zoloft cheap – zoloft buy

  38. www.demilked.com Avatar

    References:

    Applied anabolic science

    References:
    http://www.demilked.com

  39. TracyThics Avatar
    TracyThics
  40. LinwoodTwirl Avatar
    LinwoodTwirl

    ivermectin rx: Iver Therapeutics – ivermectin otc

  41. Leonarddeark Avatar
    Leonarddeark

    zoloft cheap sertraline zoloft generic zoloft

  42. MarionTit Avatar
    MarionTit

    Π˜Π½Ρ‚Π΅Ρ€Π΅ΡΡƒΠ΅Ρ‚ Π±ΡŒΡŽΡ‚ΠΈ индустрия? вакансии массаТиста вакансии космСтолога, массаТиста, мастСра ΠΌΠ°Π½ΠΈΠΊΡŽΡ€Π°, ΡˆΡƒΠ³Π°Ρ€ΠΈΠ½Π³Π°, рСсниц, бровиста, колориста ΠΈ администратора салона красоты. ΠšΡƒΡ€ΡΡ‹ для Π±ΡŒΡŽΡ‚ΠΈ мастСров, ΠΎΠ½Π»Π°ΠΉΠ½ ΠΎΠ±ΡƒΡ‡Π΅Π½ΠΈΠ΅ ΠΈ сСртификаты.

  43. Keithitabs Avatar
    Keithitabs

    ΠŸΠ»Π°Π½ΠΈΡ€ΡƒΠ΅ΡˆΡŒ Ρ€Π΅ΠΌΠΎΠ½Ρ‚? Ρ€Π΅ΠΌΠΎΠ½Ρ‚ ΠΊΠ²Π°Ρ€Ρ‚ΠΈΡ€ владивосток ΠΎΡ‚ космСтичСского обновлСния Π΄ΠΎ ΠΊΠ°ΠΏΠΈΡ‚Π°Π»ΡŒΠ½ΠΎΠΉ ΠΏΠ΅Ρ€Π΅ΠΏΠ»Π°Π½ΠΈΡ€ΠΎΠ²ΠΊΠΈ. Π˜Π½Π΄ΠΈΠ²ΠΈΠ΄ΡƒΠ°Π»ΡŒΠ½Ρ‹ΠΉ ΠΏΠΎΠ΄Ρ…ΠΎΠ΄, соврСмСнныС Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΈ ΠΎΡ„ΠΈΡ†ΠΈΠ°Π»ΡŒΠ½ΠΎΠ΅ ΠΎΡ„ΠΎΡ€ΠΌΠ»Π΅Π½ΠΈΠ΅ Π΄ΠΎΠ³ΠΎΠ²ΠΎΡ€Π°.

  44. LarryViofs Avatar
    LarryViofs

    Iver Therapeutics: ivermectin 5 – ivermectin coronavirus

Leave a Reply

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