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

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

  1. idealnaya-ya 37 Avatar

    ΠœΠ°Ρ‚Π΅Ρ€ΠΈΠ°Π»Ρ‹ ΠΎ красотС https://idealnaya-ya.ru Π·Π΄ΠΎΡ€ΠΎΠ²ΡŒΠ΅ саморазвитии ΠΈ ΡƒΡ…ΠΎΠ΄Π΅ Π·Π° собой. Π‘ΠΎΠ²Π΅Ρ‚Ρ‹ ΠΏΠΎ ΠΏΠΈΡ‚Π°Π½ΠΈΡŽ фитнСсу психологии ΠΈ Π³Π°Ρ€ΠΌΠΎΠ½ΠΈΡ‡Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ. ΠŸΠΎΠ»Π΅Π·Π½Ρ‹Π΅ ΡΡ‚Π°Ρ‚ΡŒΠΈ Ρ€Π΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°Ρ†ΠΈΠΈ ΠΈ ΠΈΠ΄Π΅ΠΈ для ΡƒΠ»ΡƒΡ‡ΡˆΠ΅Π½ΠΈΡ самочувствия ΠΈ ΠΎΠ±Ρ€Π°Π·Π° ΠΆΠΈΠ·Π½ΠΈ.

  2. Thomaswes Avatar
    Thomaswes

    https://bajarxdirect.shop/# mexico pharmacy online

  3. WilliamImpek Avatar
    WilliamImpek

    Certified North Rx best canadian pharmacy Certified North Rx

  4. Lewistib Avatar
    Lewistib

    vaycasino resmi giriş: vaycasino

  5. angelmu 280 Avatar

    Π˜Π½Ρ‚Π΅Ρ€Π΅ΡΡƒΡŽΡ‚ новости? новостной сайт Π³Π»Π°Π²Π½Ρ‹Π΅ новости дня Π½Π° ΠΎΠ΄Π½ΠΎΠΌ ΠΏΠΎΡ€Ρ‚Π°Π»Π΅. Π‘Π²Π΅ΠΆΠΈΠ΅ события ΠΈΠ· ΠΏΠΎΠ»ΠΈΡ‚ΠΈΠΊΠΈ, экономики, общСства, Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ ΠΈ ΠΊΡƒΠ»ΡŒΡ‚ΡƒΡ€Ρ‹. ΠžΠΏΠ΅Ρ€Π°Ρ‚ΠΈΠ²Π½Π°Ρ информация, Π°Π½Π°Π»ΠΈΡ‚ΠΈΠΊΠ°, ΠΊΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ экспСртов ΠΈ Π²Π°ΠΆΠ½Ρ‹Π΅ Ρ„Π°ΠΊΡ‚Ρ‹, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ ΠΏΠΎΠΌΠΎΠ³Π°ΡŽΡ‚ ΠΏΠΎΠ½ΠΈΠΌΠ°Ρ‚ΡŒ происходящСС.

  6. DonaldFak Avatar
    DonaldFak

    Π›ΡƒΡ‡ΡˆΠΈΠ΅ сСрвСра Π²ΠΈΡ€Ρ‚ΡƒΠ°Π»ΡŒΠ½Ρ‹ΠΉ сСрвСр ΠΊΡƒΠΏΠΈΡ‚ΡŒ сравнСниС dedicated servers ΠΏΠΎ Ρ†Π΅Π½Π΅, ΠΏΡ€ΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΠΈ ΠΈ надСТности. Π Π΅ΠΉΡ‚ΠΈΠ½Π³ хостингов, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ ΠΏΡ€Π΅Π΄Π»Π°Π³Π°ΡŽΡ‚ ΠΌΠΎΡ‰Π½Ρ‹Π΅ сСрвСрныС Ρ€Π΅ΡˆΠ΅Π½ΠΈΡ.

  7. DavidJet Avatar
    DavidJet

    Найти Π»ΡƒΡ‡ΡˆΠΈΠΉ сСрвСр Ρ€Π΅ΠΉΡ‚ΠΈΠ½Π³ vps хостингов Ρ€Π΅ΠΉΡ‚ΠΈΠ½Π³ dedicated servers ΠΎΡ‚ популярных хостинг-ΠΏΡ€ΠΎΠ²Π°ΠΉΠ΄Π΅Ρ€ΠΎΠ². Π‘Ρ€Π°Π²Π½ΠΈΡ‚Π΅ Π²Ρ‹Π΄Π΅Π»Π΅Π½Π½Ρ‹Π΅ сСрвСры ΠΏΠΎ характСристикам, стоимости ΠΈ возмоТностям ΠΌΠ°ΡΡˆΡ‚Π°Π±ΠΈΡ€ΠΎΠ²Π°Π½ΠΈΡ для бизнСса ΠΈ Π²Π΅Π±-ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ².

  8. Georgerem Avatar
    Georgerem

    НуТСн сСрвСр? Ρ€Π΅ΠΉΡ‚ΠΈΠ½Π³ VPS dedicated servers с ΠΌΠΎΡ‰Π½Ρ‹ΠΌΠΈ процСссорами, NVMe SSD ΠΈ высокой ΡΡ‚Π°Π±ΠΈΠ»ΡŒΠ½ΠΎΡΡ‚ΡŒΡŽ. ΠŸΠΎΠ΄Π±Π΅Ρ€ΠΈΡ‚Π΅ ΠΎΠΏΡ‚ΠΈΠΌΠ°Π»ΡŒΠ½Ρ‹ΠΉ сСрвСр для бизнСса, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠΈ ΠΈ высоких Π½Π°Π³Ρ€ΡƒΠ·ΠΎΠΊ.

  9. DamianViove Avatar
    DamianViove

    Π˜Ρ‰Π΅ΡˆΡŒ сСрвСр? ΠΊΡƒΠΏΠΈΡ‚ΡŒ Π²ΠΈΡ€Ρ‚ΡƒΠ°Π»ΡŒΠ½Ρ‹ΠΉ сСрвСр сравнСниС dedicated server хостинга ΠΏΠΎ характСристикам, Ρ†Π΅Π½Π΅, ΠΏΡ€ΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΠΈ ΠΈ uptime. Π›ΡƒΡ‡ΡˆΠΈΠ΅ ΠΏΡ€ΠΎΠ²Π°ΠΉΠ΄Π΅Ρ€Ρ‹ для размСщСния сайтов, ΠΈΠ½Ρ‚Π΅Ρ€Π½Π΅Ρ‚-ΠΌΠ°Π³Π°Π·ΠΈΠ½ΠΎΠ² ΠΈ ΠΊΡ€ΡƒΠΏΠ½Ρ‹Ρ… ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ².

  10. DavidZed Avatar
    DavidZed

    http://usmedssaver.com/# pharmacy prices

  11. Thomaswes Avatar
    Thomaswes

    http://usmedssaver.com/# northwestpharmacy

  12. Jamessoich Avatar
    Jamessoich

    BajaRx Direct: BajaRx Direct – BajaRx Direct

  13. Lewistib Avatar
    Lewistib

    https://vaycasinovip.online/# vaycasino giriş

  14. DavidZed Avatar
    DavidZed

    https://usmedssaver.com/# best european online pharmacy

  15. Thomaswes Avatar
    Thomaswes

    https://usmedssaver.shop/# medication canadian pharmacy

  16. Lewistib Avatar
    Lewistib

    vaycasino vaycasino

  17. WilliamImpek Avatar
    WilliamImpek

    purple pharmacy online farmacia online usa BajaRx Direct

  18. HerbertpautS Avatar
    HerbertpautS

    ΠžΠ±Π·ΠΎΡ€ ΠΈ Ρ€Π΅ΠΉΡ‚ΠΈΠ½Π³ΠΈ сСрвСров Ρ€Π΅ΠΉΡ‚ΠΈΠ½Π³ Π΄Π΅ΡˆΠ΅Π²Ρ‹Ρ… vps Π² россии сравнитС Π²Ρ‹Π΄Π΅Π»Π΅Π½Π½Ρ‹Π΅ сСрвСры ΠΏΠΎ характСристикам, Ρ†Π΅Π½Π΅, процСссорам ΠΈ дискам SSD. Π’Ρ‹Π±Π΅Ρ€ΠΈΡ‚Π΅ Π½Π°Π΄Π΅ΠΆΠ½Ρ‹ΠΉ сСрвСр для размСщСния сайтов, ΠΏΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΉ ΠΈ высоких Π½Π°Π³Ρ€ΡƒΠ·ΠΎΠΊ.

  19. Michaelopece Avatar
    Michaelopece

    Π Π΅ΠΉΡ‚ΠΈΠ½Π³ΠΈ сСрвСров Ρ€Π΅ΠΉΡ‚ΠΈΠ½Π³ Π²Ρ‹Π΄Π΅Π»Π΅Π½Π½Ρ‹Ρ… сСрвСров Π°ΠΊΡ‚ΡƒΠ°Π»ΡŒΠ½Ρ‹ΠΉ Ρ€Π΅ΠΉΡ‚ΠΈΠ½Π³ dedicated server хостинга с сравнСниСм характСристик, стоимости ΠΈ ΠΏΡ€ΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎΡΡ‚ΠΈ. НайдитС ΠΎΠΏΡ‚ΠΈΠΌΠ°Π»ΡŒΠ½Ρ‹ΠΉ сСрвСр для бизнСса, ΠΈΠ½Ρ‚Π΅Ρ€Π½Π΅Ρ‚-ΠΌΠ°Π³Π°Π·ΠΈΠ½Π°, SaaS-сСрвисов ΠΈ ΠΊΡ€ΡƒΠΏΠ½Ρ‹Ρ… сайтов.

  20. Williamnuh Avatar
    Williamnuh

    ΠŸΡ€ΠΎΠ±Π»Π΅ΠΌΡ‹ с Π°Π»ΠΊΠΎΠ³ΠΎΠ»Π΅ΠΌ? Π½Π°Ρ€ΠΊΠΎΠ»ΠΎΠ³ Π½Π° Π΄ΠΎΠΌΡƒ мСдицинская ΠΏΠΎΠΌΠΎΡ‰ΡŒ ΠΏΡ€ΠΈ алкогольной зависимости, дСтоксикация ΠΎΡ€Π³Π°Π½ΠΈΠ·ΠΌΠ° ΠΈ восстановлСниС самочувствия. ΠšΠΎΠ½ΡΡƒΠ»ΡŒΡ‚Π°Ρ†ΠΈΠΈ спСциалистов ΠΈ бСзопасноС Π»Π΅Ρ‡Π΅Π½ΠΈΠ΅.

  21. StuartJaf Avatar
    StuartJaf

    Π“Π°Ρ€Π°Π½Ρ‚ΠΈΡ€ΠΎΠ²Π°Π½Π½ΠΎΠ΅ Π»Π΅Ρ‡Π΅Π½ΠΈΠ΅ Π½Π°Ρ€ΠΊΠΎΠ»ΠΎΠ³ Π½Π° Π΄ΠΎΠΌ Π²Ρ‹Π²ΠΎΠ΄ ΠΈΠ· запоя Ρ†Π΅Π½Π° спСциалист ΠΏΡ€ΠΈΠ΅Π·ΠΆΠ°Π΅Ρ‚ ΠΊ ΠΏΠ°Ρ†ΠΈΠ΅Π½Ρ‚Ρƒ, ΠΏΡ€ΠΎΠ²ΠΎΠ΄ΠΈΡ‚ Π΄Π΅Ρ‚ΠΎΠΊΡΠΈΠΊΠ°Ρ†ΠΈΡŽ ΠΎΡ€Π³Π°Π½ΠΈΠ·ΠΌΠ°, ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ‚ ΡΠ½ΡΡ‚ΡŒ симптомы алкогольной интоксикации ΠΈ ΠΊΠΎΠ½Ρ‚Ρ€ΠΎΠ»ΠΈΡ€ΡƒΠ΅Ρ‚ состояниС. БСзопасный ΠΈ ΠΊΠΎΠ½Ρ„ΠΈΠ΄Π΅Π½Ρ†ΠΈΠ°Π»ΡŒΠ½Ρ‹ΠΉ ΠΏΠΎΠ΄Ρ…ΠΎΠ΄.

  22. Jamessoich Avatar
    Jamessoich

    northwest canadian pharmacy: canadian pharmacy scam – canadapharmacyonline com

  23. DavidZed Avatar
    DavidZed

    https://usmedssaver.com/# my canadian pharmacy review

  24. Thomaswes Avatar
    Thomaswes

    http://certifiednorthrx.com/# Certified North Rx

  25. Michaelbox Avatar
    Michaelbox

    ΠšΡ€ΡƒΠ³Π»ΠΎΡΡƒΡ‚ΠΎΡ‡Π½Ρ‹ΠΉ круглосуточно Ρ†Π΅Π½Ρ‹ Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎ спСциалист ΠΏΡ€ΠΎΠ²ΠΎΠ΄ΠΈΡ‚ Π΄Π΅Ρ‚ΠΎΠΊΡΠΈΠΊΠ°Ρ†ΠΈΡŽ ΠΎΡ€Π³Π°Π½ΠΈΠ·ΠΌΠ°, ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ‚ ΡΠ½ΡΡ‚ΡŒ симптомы алкогольной интоксикации ΠΈ ΠΊΠΎΠ½Ρ‚Ρ€ΠΎΠ»ΠΈΡ€ΡƒΠ΅Ρ‚ состояниС ΠΏΠ°Ρ†ΠΈΠ΅Π½Ρ‚Π°. ΠœΠ΅Π΄ΠΈΡ†ΠΈΠ½ΡΠΊΠ°Ρ ΠΏΠΎΠΌΠΎΡ‰ΡŒ оказываСтся ΠΊΠΎΠ½Ρ„ΠΈΠ΄Π΅Π½Ρ†ΠΈΠ°Π»ΡŒΠ½ΠΎ ΠΈ Π½Π°ΠΏΡ€Π°Π²Π»Π΅Π½Π° Π½Π° быстроС восстановлСниС самочувствия.

  26. WarrenplaiC Avatar
    WarrenplaiC

    Π“Π°Ρ€Π°Π½Ρ‚ΠΈΡ€ΠΎΠ²Π°Π½Π½Ρ‹ΠΉ бСзопасный ΠΊΠ°ΠΏΠ΅Π»ΡŒΠ½ΠΈΡ†Π° Π·Π°ΠΏΠΎΠΉ Π²Ρ‹Π²ΠΎΠ΄ ΠΈΠ· запоя с наблюдСниСм, дСтоксикациСй ΠΎΡ€Π³Π°Π½ΠΈΠ·ΠΌΠ° ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠΎΠΉ Π²Ρ€Π°Ρ‡Π°. ΠŸΡ€ΠΎΡ†Π΅Π΄ΡƒΡ€Ρ‹ Π½Π°ΠΏΡ€Π°Π²Π»Π΅Π½Ρ‹ Π½Π° восстановлСниС состояния ΠΏΠ°Ρ†ΠΈΠ΅Π½Ρ‚Π° ΠΈ ΡƒΠ»ΡƒΡ‡ΡˆΠ΅Π½ΠΈΠ΅ самочувствия.

  27. Lewistib Avatar
    Lewistib

    vaycasino resmi giriş vaycasino

  28. DavidZed Avatar
    DavidZed
  29. Lewistib Avatar
    Lewistib

    vaycasino resmi giriş vaycasino

  30. Jamessoich Avatar
    Jamessoich

    online canadian pharmacy review: buying drugs from canada – Certified North Rx

  31. WilliamImpek Avatar
    WilliamImpek

    medication in mexico mexico medicine BajaRx Direct

  32. DavidZed Avatar
    DavidZed

    https://certifiednorthrx.com/# Certified North Rx

  33. Thomaswes Avatar
    Thomaswes

    https://certifiednorthrx.shop/# certified canadian pharmacy

  34. MelvinSok Avatar
    MelvinSok

    https://holiganbetvip.top/# holiganbet güncel giriş

  35. Jamessoich Avatar
    Jamessoich

    online pharmacy drop shipping: US Meds Saver – rx pharmacy coupons

  36. DavidZed Avatar
    DavidZed

    https://usmedssaver.shop/# canadian pharmacy mall

  37. Vicentewaype Avatar
    Vicentewaype

    holiganbet guncel: holiganbet

  38. outreachseo 854 Avatar
    outreachseo 854

    ΠšΠ°Ρ‡Π΅ΡΡ‚Π²Π΅Π½Π½ΠΎΠ΅ SEO https://outreachseo.ru ΠΏΡ€ΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ сайта для бизнСса. Наши спСциалисты ΠΏΡ€Π΅Π΄Π»Π°Π³Π°ΡŽΡ‚ эффСктивныС Ρ€Π΅ΡˆΠ΅Π½ΠΈΡ для роста ΠΏΠΎΠ·ΠΈΡ†ΠΈΠΉ Π² поисковых систСмах. ΠŸΠΎΠ΄Ρ€ΠΎΠ±Π½Π΅Π΅ ΠΎΠ± услугах ΠΈ стратСгиях ΠΌΠΎΠΆΠ½ΠΎ ΡƒΠ·Π½Π°Ρ‚ΡŒ Π½Π° сайтС

  39. Patrickvaf Avatar
    Patrickvaf

    Modern platform buy facebook business manager verified caters to solo buyers and agencies who need reliable accounts at scale with volume pricing and priority restocking. The selection includes profiles sorted by registration method, warming protocol, age, and included assets so buyers can match accounts to their specific needs. The most successful media buying teams share one trait: they invest in quality infrastructure before they invest in ad spend.

  40. Davidlox Avatar
    Davidlox

    Growth-focused store facebook BM accounts is built specifically for performance marketers who value transparency, speed, and predictable account quality. Detailed usage guides help buyers understand the differences between softreg, selfreg, farmed, and reinstated account types before purchasing. From first purchase to ongoing scaling, the platform supports every stage of a media buyer’s operational journey.

  41. Jefferynix Avatar
    Jefferynix

    Expert-level shop fb accounts for media buying combines automated delivery with manual verification to ensure every account meets strict quality benchmarks. The team provides onboarding guidance for new buyers and ongoing operational support for teams managing high-volume campaign portfolios. The combination of product quality, transparent specs, and responsive support creates a reliable foundation for scaling ad operations.

  42. Frankquief Avatar
    Frankquief

    Professional service check it out specializes in accounts optimized for paid campaigns with proper warming history and platform trust markers. The team provides onboarding guidance for new buyers and ongoing operational support for teams managing high-volume campaign portfolios. From first purchase to ongoing scaling, the platform supports every stage of a media buyer’s operational journey.

  43. MelvinSok Avatar
    MelvinSok

    https://holiganbetvip.buzz/# holiganbet giriş

  44. Vicentewaype Avatar
    Vicentewaype

    holiganbet guncel giris holiganbet

  45. Jimmyclaps Avatar
    Jimmyclaps

    holiganbet holiganbet

  46. Frankquief Avatar
    Frankquief

    Expert-level shop buy youtube accounts with 4000 watch hours online combines automated delivery with manual verification to ensure every account meets strict quality benchmarks. The team provides onboarding guidance for new buyers and ongoing operational support for teams managing high-volume campaign portfolios. Instant delivery, verified quality, and dedicated support — everything a professional advertiser needs in one marketplace.

  47. Jefferynix Avatar
    Jefferynix

    Experienced supplier where to get twitter accounts with followers fast online offers complete asset packages including login credentials, recovery access, 2FA codes, cookies, and user-agent data. Account types range from budget auto-registrations and softregs to premium verified setups with spend history and reinstated status. From first purchase to ongoing scaling, the platform supports every stage of a media buyer’s operational journey.

  48. Patrickvaf Avatar
    Patrickvaf

    Growth-focused store outlook accounts for social media registration is built specifically for performance marketers who value transparency, speed, and predictable account quality. A loyalty program with cashback on every order makes repeated purchases more cost-effective for teams with regular sourcing requirements. Whether you need accounts for testing or production campaigns, the catalog covers every tier from entry-level to premium.

Leave a Reply

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