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

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

  1. Kennethdiera Avatar
    Kennethdiera

    Unm Pharm: mexico pharmacies prescription drugs – mexican pharmaceuticals online

  2. CraigKab Avatar
    CraigKab

    my canadian pharmacy rx canadian pharmacy ratings canadian mail order pharmacy

  3. DelmarDap Avatar
    DelmarDap

    http://unmpharm.com/# buying prescription drugs in mexico

  4. JosephBab Avatar
    JosephBab

    canadianpharmacyworld: Nyu Pharm – my canadian pharmacy rx

  5. ArmandoSit Avatar

    Π£Ρ‡ΠΈΡˆΡŒΡΡ Π² Π²ΡƒΠ·Π΅? ΠΏΠΎΠΌΠΎΡ‰ΡŒ студСнтам Π Π°Π·Π±Π΅Ρ€Ρ‘ΠΌ ΠΌΠ΅Ρ‚ΠΎΠ΄ΠΈΡ‡ΠΊΡƒ, составим ΠΏΠ»Π°Π½, ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ с Π²Π²Π΅Π΄Π΅Π½ΠΈΠ΅ΠΌ, цСлями ΠΈ Π²Ρ‹Π²ΠΎΠ΄Π°ΠΌΠΈ, ΠΎΡ„ΠΎΡ€ΠΌΠΈΠΌ список Π»ΠΈΡ‚Π΅Ρ€Π°Ρ‚ΡƒΡ€Ρ‹, ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΈΠΌ ошибки ΠΈ ΠΎΡ„ΠΎΡ€ΠΌΠ»Π΅Π½ΠΈΠ΅. ΠšΠΎΠ½Ρ„ΠΈΠ΄Π΅Π½Ρ†ΠΈΠ°Π»ΡŒΠ½ΠΎ, быстро, ΠΏΠΎ шагам.

  6. Michaelanoli Avatar
    Michaelanoli

    https://nyupharm.com/# canadian drug prices

  7. Kennethdiera Avatar
    Kennethdiera

    medication from mexico pharmacy: Unm Pharm – Unm Pharm

  8. CraigKab Avatar
    CraigKab

    canadian neighbor pharmacy canadian pharmacy canada drugs reviews

  9. farbwood-770 Avatar

    FarbWood https://farbwood.by ΠΊΠΎΠΌΠ°Π½Π΄Π°, Π²ΠΊΠ»ΡŽΡ‡Π°ΡŽΡ‰Π°Ρ конструкторов, ΠΌΠ΅Π½Π΅Π΄ΠΆΠ΅Ρ€ΠΎΠ² ΠΈ мастСров ΡΡ‚Ρ€ΠΎΠΈΡ‚Π΅Π»ΡŒΠ½Ρ‹Ρ… ΡΠΏΠ΅Ρ†ΠΈΠ°Π»ΡŒΠ½ΠΎΡΡ‚Π΅ΠΉ. ΠšΠ°ΠΆΠ΄Ρ‹ΠΉ Ρ‡Π»Π΅Π½ нашСго ΠΊΠΎΠ»Π»Π΅ΠΊΡ‚ΠΈΠ²Π° ΠΈΠΌΠ΅Π΅Ρ‚ Π·Π° ΠΏΠ»Π΅Ρ‡Π°ΠΌΠΈ собствСнный солидный ΠΎΠΏΡ‹Ρ‚ Ρ€Π°Π±ΠΎΡ‚Ρ‹ Π² своСй сфСрС ΠΎΡ‚ 9 Π»Π΅Ρ‚. ОбъСдинив ΠΎΠ±Ρ‰ΠΈΠ΅ знания ΠΈ Π½Π°Π²Ρ‹ΠΊΠΈ, ΠΌΡ‹ ΠΏΠΎΡΡ‚Π°Ρ€Π°Π»ΠΈΡΡŒ ΡΠΎΠ·Π΄Π°Ρ‚ΡŒ компанию, которая смоТСт ΠΏΡ€Π΅Π΄ΠΎΡΡ‚Π°Π²ΠΈΡ‚ΡŒ качСствСнныС услуги частным ΠΈ ΠΊΠΎΡ€ΠΏΠΎΡ€Π°Ρ‚ΠΈΠ²Π½Ρ‹ΠΌ Π·Π°ΠΊΠ°Π·Ρ‡ΠΈΠΊΠ°ΠΌ.

  10. colorprofi-293 Avatar

    Π‘Ρ‚Ρ€ΠΎΠΈΡ‚Π΅Π»ΡŒΡΡ‚Π²ΠΎ ΠΈ Ρ€Π΅ΠΌΠΎΠ½Ρ‚ https://colorprofi.ru Π±Π΅Π· ΡΡŽΡ€ΠΏΡ€ΠΈΠ·ΠΎΠ²: ΠΏΠΎΡˆΠ°Π³ΠΎΠ²Ρ‹Π΅ инструкции, совСты мастСров, сравнСниС ΠΌΠ°Ρ‚Π΅Ρ€ΠΈΠ°Π»ΠΎΠ², схСмы, частыС ошибки ΠΈ способы ΡΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ‚ΡŒ. ΠžΡ‚ Ρ„ΡƒΠ½Π΄Π°ΠΌΠ΅Π½Ρ‚Π° ΠΈ стСн Π΄ΠΎ ΠΏΠ»ΠΈΡ‚ΠΊΠΈ, ΠΏΠΎΠ»Π°, ΠΏΠΎΡ‚ΠΎΠ»ΠΊΠΎΠ² ΠΈ ΠΈΠ½ΠΆΠ΅Π½Π΅Ρ€ΠΊΠΈ. ΠžΠ±Π½ΠΎΠ²Π»ΡΠ΅ΠΌΡ‹Π΅ ΡΡ‚Π°Ρ‚ΡŒΠΈ ΠΈ ΠΎΡ‚Π²Π΅Ρ‚Ρ‹ Π½Π° вопросы.

  11. soft-sng-491 Avatar

    БСсплатныС ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΡ‹ https://soft-sng.ru для ΠΊΠΎΠΌΠΏΡŒΡŽΡ‚Π΅Ρ€Π°: офис, Π±Ρ€Π°ΡƒΠ·Π΅Ρ€, антивирус, Π°Ρ€Ρ…ΠΈΠ²Π°Ρ‚ΠΎΡ€, PDF, ΠΏΠ»Π΅Π΅Ρ€Ρ‹, ΠΌΠΎΠ½Ρ‚Π°ΠΆ Π²ΠΈΠ΄Π΅ΠΎ ΠΈ Ρ„ΠΎΡ‚ΠΎ, ΡƒΡ‚ΠΈΠ»ΠΈΡ‚Ρ‹ для систСмы. Π‘ΠΊΠ°Ρ‡ΠΈΠ²Π°Π½ΠΈΠ΅ с ΠΎΡ„ΠΈΡ†ΠΈΠ°Π»ΡŒΠ½Ρ‹Ρ… сайтов, ΠΊΡ€Π°Ρ‚ΠΊΠΈΠ΅ ΠΎΠ±Π·ΠΎΡ€Ρ‹, ΠΏΠ»ΡŽΡΡ‹/минусы ΠΈ Π°Π½Π°Π»ΠΎΠ³ΠΈ. ΠŸΠΎΠ΄Π±ΠΎΡ€ ΠΏΠΎ Windows/macOS/Linux, ΠΏΠΎΠ΄Π±ΠΎΡ€ΠΊΠΈ ΠΈ инструкции.

  12. JosephBab Avatar
    JosephBab

    Umass India Pharm: Umass India Pharm – indianpharmacy com

  13. Kennethdiera Avatar
    Kennethdiera

    Online medicine order: Umass India Pharm – Umass India Pharm

  14. Michaelanoli Avatar
    Michaelanoli

    http://umassindiapharm.com/# ΠΏΒ»Ρ—legitimate online pharmacies india

  15. strojdvor-54 Avatar

    ΠŸΠΎΡ€Ρ‚Π°Π» ΠΎ ΡΡ‚Ρ€ΠΎΠΈΡ‚Π΅Π»ΡŒΡΡ‚Π²Π΅ https://strojdvor.ru Ρ€Π΅ΠΌΠΎΠ½Ρ‚Π΅ ΠΈ ΠΈΠ½ΠΆΠ΅Π½Π΅Ρ€Π½Ρ‹Ρ… систСмах: ΠΎΡ‚ Ρ„ΡƒΠ½Π΄Π°ΠΌΠ΅Π½Ρ‚Π° Π΄ΠΎ ΠΎΡ‚Π΄Π΅Π»ΠΊΠΈ ΠΈ ΠΊΠΎΠΌΠΌΡƒΠ½ΠΈΠΊΠ°Ρ†ΠΈΠΉ. ΠŸΠΎΡˆΠ°Π³ΠΎΠ²Ρ‹Π΅ инструкции, сравнСниС ΠΌΠ°Ρ‚Π΅Ρ€ΠΈΠ°Π»ΠΎΠ², расчёты, совСты экспСртов ΠΈ Ρ‚ΠΈΠΏΠΎΠ²Ρ‹Π΅ ошибки. ПомогаСм ΡΠ΄Π΅Π»Π°Ρ‚ΡŒ Π½Π°Π΄Ρ‘ΠΆΠ½ΠΎ ΠΈ Π±Π΅Π· ΠΏΠ΅Ρ€Π΅ΠΏΠ»Π°Ρ‚.

  16. moskva-news-247 Avatar

    Новости ΠœΠΎΡΠΊΠ²Ρ‹ https://moskva-news.com ΠΈ Московской области: ΠΏΠΎΠ»ΠΈΡ‚ΠΈΠΊΠ°, экономика, общСство, ΠΏΡ€ΠΎΠΈΡΡˆΠ΅ΡΡ‚Π²ΠΈΡ, транспорт, Π–ΠšΠ₯ ΠΈ ΠΏΠΎΠ³ΠΎΠ΄Π°. ΠžΠΏΠ΅Ρ€Π°Ρ‚ΠΈΠ²Π½Ρ‹Π΅ Ρ€Π΅ΠΏΠΎΡ€Ρ‚Π°ΠΆΠΈ, ΠΊΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ экспСртов, ΠΎΡ„ΠΈΡ†ΠΈΠ°Π»ΡŒΠ½Ρ‹Π΅ заявлСния ΠΈ Ρ„ΠΎΡ‚ΠΎ. Π“Π»Π°Π²Π½ΠΎΠ΅ Π·Π° дСнь β€” быстро, Ρ‚ΠΎΡ‡Π½ΠΎ, Π±Π΅Π· лишнСго.

  17. lratvakan-717 Avatar

    ΠœΠΈΡ€ΠΎΠ²Ρ‹Π΅ новости https://lratvakan.com сСгодня: свСТая информация ΠΈΠ· Ρ€Π°Π·Π½Ρ‹Ρ… стран, Π²Π°ΠΆΠ½Ρ‹Π΅ заявлСния, мСТдународная ΠΏΠΎΠ»ΠΈΡ‚ΠΈΠΊΠ°, Ρ€Ρ‹Π½ΠΊΠΈ ΠΈ Ρ‚Ρ€Π΅Π½Π΄Ρ‹. ΠžΠΏΠ΅Ρ€Π°Ρ‚ΠΈΠ²Π½Ρ‹Π΅ обновлСния, ΠΏΡ€ΠΎΠ²Π΅Ρ€Π΅Π½Π½Ρ‹Π΅ источники ΠΈ понятныС ΠΎΠ±Π·ΠΎΡ€Ρ‹ событий ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ дня.

  18. vashesamodelkino-257 Avatar

    ΠŸΠΎΠ»Π΅Π·Π½Ρ‹Π΅ совСты https://vashesamodelkino.ru для Π΄ΠΎΠΌΠ° ΠΈ Π±Ρ‹Ρ‚Π°: ΠΏΡ€Π°ΠΊΡ‚ΠΈΡ‡Π½Ρ‹Π΅ ΠΈΠ΄Π΅ΠΈ Π½Π° ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ дСнь β€” ΠΎΡ‚ ΡƒΠ±ΠΎΡ€ΠΊΠΈ ΠΈ Π³ΠΎΡ‚ΠΎΠ²ΠΊΠΈ Π΄ΠΎ хранСния Π²Π΅Ρ‰Π΅ΠΉ ΠΈ ΠΌΠ΅Π»ΠΊΠΎΠ³ΠΎ Ρ€Π΅ΠΌΠΎΠ½Ρ‚Π°. ΠŸΠΎΠ½ΡΡ‚Π½Ρ‹Π΅ инструкции, Π±Ρ‹Ρ‚ΠΎΠ²Ρ‹Π΅ Π»Π°ΠΉΡ„Ρ…Π°ΠΊΠΈ ΠΈ Ρ€Π΅ΡˆΠ΅Π½ΠΈΡ, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ Ρ€Π΅Π°Π»ΡŒΠ½ΠΎ Ρ€Π°Π±ΠΎΡ‚Π°ΡŽΡ‚ ΠΈ ΡƒΠΏΡ€ΠΎΡ‰Π°ΡŽΡ‚ Тизнь.

  19. iloveasia-819 Avatar

    Новости K-POP https://www.iloveasia.su ΠΈΠ· ΠšΠΎΡ€Π΅ΠΈ: Π°ΠΉΠ΄ΠΎΠ»-Π³Ρ€ΡƒΠΏΠΏΡ‹, соло-артисты, камбэки, скандалы, ΠΊΠΎΠ½Ρ†Π΅Ρ€Ρ‚Ρ‹ ΠΈ ΡˆΠΎΡƒ. ΠΠΊΡ‚ΡƒΠ°Π»ΡŒΠ½Ρ‹Π΅ обновлСния, ΠΏΠ΅Ρ€Π΅Π²ΠΎΠ΄Ρ‹ корСйских источников, Ρ„ΠΎΡ‚ΠΎ ΠΈ Π²ΠΈΠ΄Π΅ΠΎ. Π‘Π»Π΅Π΄ΠΈΡ‚Π΅ Π·Π° Π»ΡŽΠ±ΠΈΠΌΡ‹ΠΌΠΈ артистами ΠΈ Ρ‚Ρ€Π΅Π½Π΄Π°ΠΌΠΈ индустрии ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ дСнь.

  20. svoimi-rukamy-948 Avatar

    Всё ΠΎ Ρ€Π΅ΠΌΠΎΠ½Ρ‚Π΅ https://svoimi-rukamy.net своими Ρ€ΡƒΠΊΠ°ΠΌΠΈ: понятныС Π³Π°ΠΉΠ΄Ρ‹, схСмы, расчёты ΠΈ Π»Π°ΠΉΡ„Ρ…Π°ΠΊΠΈ для ΠΊΠ²Π°Ρ€Ρ‚ΠΈΡ€Ρ‹ ΠΈ Π΄ΠΎΠΌΠ°. Π§Π΅Ρ€Π½ΠΎΠ²Ρ‹Π΅ ΠΈ чистовыС Ρ€Π°Π±ΠΎΡ‚Ρ‹, ΠΎΡ‚Π΄Π΅Π»ΠΊΠ°, ΠΌΠ΅Π»ΠΊΠΈΠΉ Ρ€Π΅ΠΌΠΎΠ½Ρ‚ ΠΈ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈΠ½Ρ‚Π΅Ρ€ΡŒΠ΅Ρ€Π°. ΠŸΡ€Π°ΠΊΡ‚ΠΈΡ‡Π½ΠΎ, доступно ΠΈ Π±Π΅Π· лишнСй Ρ‚Π΅ΠΎΡ€ΠΈΠΈ.

  21. DelmarDap Avatar
    DelmarDap

    https://umassindiapharm.com/# Online medicine order

  22. Kennethdiera Avatar
    Kennethdiera

    Unm Pharm: Unm Pharm – Unm Pharm

  23. Michaelanoli Avatar
    Michaelanoli

    https://nyupharm.com/# canadian pharmacy india

  24. CraigKab Avatar
    CraigKab

    online shopping pharmacy india Umass India Pharm Umass India Pharm

  25. JosephBab Avatar
    JosephBab

    Unm Pharm: Unm Pharm – Unm Pharm

  26. Michaelanoli Avatar
    Michaelanoli

    https://nyupharm.xyz/# legit canadian online pharmacy

  27. CraigKab Avatar
    CraigKab

    Umass India Pharm Umass India Pharm Umass India Pharm

  28. JosephBab Avatar
    JosephBab

    india online pharmacy: Umass India Pharm – buy prescription drugs from india

  29. koreyskaya-kosmetika-857 Avatar

    НуТна космСтика? корСйская космСтика для волос большой Π²Ρ‹Π±ΠΎΡ€ ΠΎΡ€ΠΈΠ³ΠΈΠ½Π°Π»ΡŒΠ½Ρ‹Ρ… срСдств K-beauty. Π£Ρ…ΠΎΠ΄ для всСх Ρ‚ΠΈΠΏΠΎΠ² ΠΊΠΎΠΆΠΈ, Π½ΠΎΠ²ΠΈΠ½ΠΊΠΈ ΠΈ Ρ…ΠΈΡ‚Ρ‹ ΠΏΡ€ΠΎΠ΄Π°ΠΆ. ПомоТСм ΠΏΠΎΠ΄ΠΎΠ±Ρ€Π°Ρ‚ΡŒ ΠΏΡ€ΠΎΠ΄ΡƒΠΊΡ‚Ρ‹, Π²Ρ‹Π³ΠΎΠ΄Π½Ρ‹Π΅ Ρ†Π΅Π½Ρ‹, Π°ΠΊΡ†ΠΈΠΈ ΠΈ опСративная доставка ΠΏΠΎ Алматы.

  30. koreyskaya-kosmetika-956 Avatar

    НуТна космСтика? корСйская космСтика ΠΈΠ½Ρ‚Π΅Ρ€Π½Π΅Ρ‚ ΠΌΠ°Π³Π°Π·ΠΈΠ½ большой Π²Ρ‹Π±ΠΎΡ€ ΠΎΡ€ΠΈΠ³ΠΈΠ½Π°Π»ΡŒΠ½Ρ‹Ρ… срСдств K-beauty. Π£Ρ…ΠΎΠ΄ для всСх Ρ‚ΠΈΠΏΠΎΠ² ΠΊΠΎΠΆΠΈ, Π½ΠΎΠ²ΠΈΠ½ΠΊΠΈ ΠΈ Ρ…ΠΈΡ‚Ρ‹ ΠΏΡ€ΠΎΠ΄Π°ΠΆ. ПомоТСм ΠΏΠΎΠ΄ΠΎΠ±Ρ€Π°Ρ‚ΡŒ ΠΏΡ€ΠΎΠ΄ΡƒΠΊΡ‚Ρ‹, Π²Ρ‹Π³ΠΎΠ΄Π½Ρ‹Π΅ Ρ†Π΅Π½Ρ‹, Π°ΠΊΡ†ΠΈΠΈ ΠΈ опСративная доставка ΠΏΠΎ Алматы.

  31. Michaelanoli Avatar
    Michaelanoli

    https://nyupharm.com/# cheapest pharmacy canada

  32. DelmarDap Avatar
    DelmarDap

    http://umassindiapharm.com/# indianpharmacy com

  33. CraigKab Avatar
    CraigKab

    canadian drug pharmacy Nyu Pharm is canadian pharmacy legit

  34. JosephBab Avatar
    JosephBab

    Umass India Pharm: Umass India Pharm – indian pharmacy

  35. hotgoods-129 Avatar

    ΠšΠΎΡ€ΠΈΡΠ½Π° інформація – огляди ΠΌΠ΅Π±Π»Ρ–Π² https://hotgoods.com.ua

  36. gortransauto-9 Avatar

    Π¦Π΅Π½Ρ‚Ρ€ пассаТирских ΠΏΠ΅Ρ€Π΅Π²ΠΎΠ·ΠΎΠΊ https://gortransauto.ru

  37. Michaelanoli Avatar
    Michaelanoli

    https://nyupharm.xyz/# recommended canadian pharmacies

  38. CraigKab Avatar
    CraigKab

    canadian pharmacy mall best canadian pharmacy buy prescription drugs from canada cheap

  39. JosephBab Avatar
    JosephBab

    Unm Pharm: Unm Pharm – Unm Pharm

  40. Michaelanoli Avatar
    Michaelanoli

    https://nyupharm.xyz/# best canadian online pharmacy

  41. CraigKab Avatar
    CraigKab

    order kamagra from mexican pharmacy Unm Pharm online mexico pharmacy USA

  42. DelmarDap Avatar
    DelmarDap

    http://umassindiapharm.com/# indian pharmacy paypal

  43. JosephBab Avatar
    JosephBab

    safe online pharmacies in canada: canadapharmacyonline legit – canadian pharmacy antibiotics

  44. Michaelanoli Avatar
    Michaelanoli
  45. CraigKab Avatar
    CraigKab

    zithromax mexican pharmacy buy meds from mexican pharmacy Unm Pharm

Leave a Reply

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