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,761 responses to “Tips that prevent your mailing being marked as ‘spam’”

  1. KennethIncig Avatar

    Новинки Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ https://axioma-techno.com.ua искусствСнный ΠΈΠ½Ρ‚Π΅Π»Π»Π΅ΠΊΡ‚, Π³Π°Π΄ΠΆΠ΅Ρ‚Ρ‹, смартфоны, IT-Ρ€Π΅ΡˆΠ΅Π½ΠΈΡ ΠΈ Ρ†ΠΈΡ„Ρ€ΠΎΠ²Ρ‹Π΅ сСрвисы. ΠžΠ±Π·ΠΎΡ€Ρ‹, сравнСния, Ρ‚Ρ€Π΅Π½Π΄Ρ‹ ΠΈ объяснСния простым языком. Π£Π·Π½Π°Π²Π°ΠΉΡ‚Π΅ ΠΏΠ΅Ρ€Π²Ρ‹ΠΌΠΈ ΠΎ тСхнологиях, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ ΠΌΠ΅Π½ΡΡŽΡ‚ бизнСс ΠΈ ΠΏΠΎΠ²ΡΠ΅Π΄Π½Π΅Π²Π½ΡƒΡŽ Тизнь.

  2. Raymondcluse Avatar
    Raymondcluse

    To be honest, I was looking for Amoxil for a tooth infection and discovered this source. You can get antibiotics without prescription cheaply. For fast relief, highly recommended: https://amoxicillinexpress.com. Cheers.

  3. Michaellah Avatar

    ΠΠ²Ρ‚ΠΎΠΌΠΎΠ±ΠΈΠ»ΡŒΠ½Ρ‹ΠΉ ΠΏΠΎΡ€Ρ‚Π°Π» https://livecage.com.ua тСст-Π΄Ρ€Π°ΠΉΠ²Ρ‹, сравнСния, ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡ‚Π°Ρ†ΠΈΠΈ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡ‚ΡŒ ΠΈ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ‡Π½ΠΎΡΡ‚ΡŒ. ΠΠΊΡ‚ΡƒΠ°Π»ΡŒΠ½Ρ‹Π΅ новости, совСты ΠΏΠΎ Ρ€Π΅ΠΌΠΎΠ½Ρ‚Ρƒ ΠΈ ΠΎΠ±ΡΠ»ΡƒΠΆΠΈΠ²Π°Π½ΠΈΡŽ, Ρ€Π΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°Ρ†ΠΈΠΈ для Π½Π°Ρ‡ΠΈΠ½Π°ΡŽΡ‰ΠΈΡ… ΠΈ ΠΎΠΏΡ‹Ρ‚Π½Ρ‹Ρ… Π²ΠΎΠ΄ΠΈΡ‚Π΅Π»Π΅ΠΉ.

  4. MiltonUnota Avatar

    Всё ΠΏΡ€ΠΎ Π°Π²Ρ‚ΠΎΠΌΠΎΠ±ΠΈΠ»ΠΈ https://sedan.kyiv.ua Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΏΠΎΡ€Ρ‚Π°Π»Π΅: ΠΊΠ°Ρ‚Π°Π»ΠΎΠ³ Π°Π²Ρ‚ΠΎ, ΠΎΠ±Π·ΠΎΡ€Ρ‹ ΠΈ Ρ€Π΅ΠΉΡ‚ΠΈΠ½Π³ΠΈ, новости Π°Π²Ρ‚ΠΎΠΏΡ€ΠΎΠΌΠ° ΠΈ совСты экспСртов. ΠŸΠΎΠΊΡƒΠΏΠΊΠ°, эксплуатация, сСрвис ΠΈ Ρ‚Ρ€Π΅Π½Π΄Ρ‹ β€” полСзная информация для ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ водитСля.

  5. Georgeted Avatar
    Georgeted

    Π‘ΠΎΠ²Ρ€Π΅ΠΌΠ΅Π½Π½Ρ‹ΠΉ Π΄ΠΈΠ»Π΅Ρ€ ΠΊΡƒΠΏΠΈΡ‚ΡŒ Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚Ρ‹ для ΠΌΠ°ΡΡˆΡ‚Π°Π±ΠΈΡ€ΠΎΠ²Π°Π½ΠΈΡ прСдоставляСт Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΡŒ ΠΏΠΎΠ΄ΠΎΠ±Ρ€Π°Ρ‚ΡŒ ΡƒΡ‡Π΅Ρ‚ΠΊΠΈ ΠΏΠΎΠ΄ Ρ€Π΅ΠΊΠ»Π°ΠΌΡƒ. Когда Π²Ρ‹ ΠΏΠ»Π°Π½ΠΈΡ€ΡƒΠ΅Ρ‚Π΅ ΠΊΡƒΠΏΠΈΡ‚ΡŒ Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚Ρ‹ Facebook, Ρ‡Π°Ρ‰Π΅ всСго Π²Π°ΠΆΠ΅Π½ Π½Π΅ Β«ΠΎΠ΄Π½ΠΎΠΌ Π»ΠΎΠ³ΠΈΠ½Π΅Β», Π° Π² трастС ΠΈ Π»ΠΈΠΌΠΈΡ‚Π°Ρ…: отсутствиС Π²Ρ‹Π»Π΅Ρ‚ΠΎΠ² Π½Π° сСлфи, Π·Π΅Π»Π΅Π½Ρ‹Π΅ плашки Π² ΠΊΠ°Π±ΠΈΠ½Π΅Ρ‚Π΅ ΠΈ ΠΏΡ€ΠΎΠ³Ρ€Π΅Ρ‚Ρ‹Π΅ FanPage. ΠœΡ‹ собрали ΠΏΠΎΠ½ΡΡ‚Π½ΡƒΡŽ Π½Π°Π²ΠΈΠ³Π°Ρ†ΠΈΡŽ, Ρ‡Ρ‚ΠΎΠ±Ρ‹ Π²Ρ‹ Π±Π΅Π· Π»ΠΈΡˆΠ½ΠΈΡ… вопросов ΠΏΠΎΠ½ΠΈΠΌΠ°Π»ΠΈ ΠΊΠ°ΠΊΠΎΠΉ Π»ΠΈΠΌΠΈΡ‚ Π²Ρ‹Π±Ρ€Π°Ρ‚ΡŒ Π΄ΠΎ ΠΎΠΏΠ»Π°Ρ‚Ρ‹.Навигация ΠΏΠΎ Ρ‚Π΅ΠΌΠ΅: порядок Π·Π°Ρ…ΠΎΠ΄Π° ΠΏΠΎ ΠΊΡƒΠΊΠΈ. Π’Π°ΠΆΠ½ΠΎ: Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚ β€” это инструмСнт. Π”Π°Π»ΡŒΡˆΠ΅ Ρ€Π΅ΡˆΠ°Π΅Ρ‚ схСма Π·Π°Π»ΠΈΠ²Π°: ΠΊΠ°ΠΊ вяТСтся ΠΊΠ°Ρ€Ρ‚Π°, ΠΊΠ°ΠΊ Π²Ρ‹ ΠΏΠ΅Ρ€Π΅Π΄Π°Π΅Ρ‚Π΅ Π»ΠΈΡ‡ΠΊΠΈ Π±Π΅Π· Ρ‚Ρ€ΠΈΠ³Π³Π΅Ρ€ΠΎΠ², ΠΊΠ°ΠΊ ΠΏΡ€ΠΎΡ…ΠΎΠ΄ΠΈΡ‚Π΅ Ρ‡Π΅ΠΊΠΈ ΠΈ ΠΊΠ°ΠΊ ΠΌΠ°ΡΡˆΡ‚Π°Π±ΠΈΡ€ΡƒΠ΅Ρ‚Π΅ адсСты. Π“ΠΎΡ€Π΄ΠΎΡΡ‚ΡŒ этого шопа β€” это Π½Π°Π»ΠΈΡ‡ΠΈΠ΅ ΠΏΡ€ΠΈΠ²Π°Ρ‚Π½ΠΎΠΉ Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ Π°Ρ€Π±ΠΈΡ‚Ρ€Π°ΠΆΠ½ΠΈΠΊΠ°, Π² ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠΉ ΠΎΠΏΡƒΠ±Π»ΠΈΠΊΠΎΠ²Π°Π½Ρ‹ Π°ΠΊΡ‚ΡƒΠ°Π»ΡŒΠ½Ρ‹Π΅ Π³Π°ΠΉΠ΄Ρ‹ ΠΏΠΎ Ρ€Π°Π±ΠΎΡ‚Π΅ с Π‘ΠœΠ°ΠΌΠΈ. Π’ΡƒΡ‚ доступны Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚Ρ‹ Meta для Ρ€Π°Π·Π½Ρ‹Ρ… сСтапов: начиная с Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚ΠΎΠ² ΠΏΠΎΠ΄ привязку Π΄ΠΎ ΠŸΠ—Π Π” сСтапами с Π΄ΠΎΠΊΡƒΠΌΠ΅Π½Ρ‚Π°ΠΌΠΈ. Заказывая Ρƒ нас, Π²Ρ‹ ΠΏΠΎΠ»ΡƒΡ‡Π°Π΅Ρ‚Π΅ Π½Π΅ просто Π°ΠΊΠΊΠ°ΡƒΠ½Ρ‚, Π½ΠΎ ΠΈ Π²ΡΠ΅ΡΡ‚ΠΎΡ€ΠΎΠ½Π½ΡŽΡŽ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΡƒ, ΠΏΡ€ΠΎΠ·Ρ€Π°Ρ‡Π½Ρ‹Π΅ ΠΏΡ€Π°Π²ΠΈΠ»Π° Ρ‡Π΅ΠΊΠ°, страховку Π½Π° Π²Ρ…ΠΎΠ΄ плюс самыС Π½ΠΈΠ·ΠΊΠΈΠ΅ прайсы срСди сСллСров. Π’Π°ΠΆΠ½ΠΎ: дСйствуйтС Π² Ρ€Π°ΠΌΠΊΠ°Ρ… Π·Π°ΠΊΠΎΠ½Π° ΠΈ всСгда с ΡƒΡ‡Π΅Ρ‚ΠΎΠΌ ΠΏΡ€Π°Π²ΠΈΠ» Meta.

  6. Stephenunoge Avatar
    Stephenunoge

    Hi! Just wanted to share an awesome online drugstore to buy prescriptions cheaply. Pharmiexpress provides reliable delivery on health products. For fast service, take a look: check availability. Cheers.

  7. Raymondcluse Avatar
    Raymondcluse

    Actually, I needed Amoxicillin for a tooth infection and stumbled upon a great pharmacy. They sell Amoxicillin 500mg fast. For fast relief, highly recommended: https://amoxicillinexpress.com/#. Cheers.

  8. AaronEmami Avatar

    Компания BritishSchool https://britishschool.kiev.ua ΠΏΡ€ΠΎΡ„Π΅ΡΡΠΈΠΎΠ½Π°Π»ΡŒΠ½Ρ‹Π΅ Ρ‚Ρ€Π΅Π½ΠΈΠ½Π³ΠΈ, сСминары ΠΈ курсы для Π΄Π΅Ρ‚Π΅ΠΉ ΠΈ взрослых. ΠžΠ±ΡƒΡ‡Π΅Π½ΠΈΠ΅ с ΠΎΠΏΡ‹Ρ‚Π½Ρ‹ΠΌΠΈ прСподаватСлями, соврСмСнныС ΠΌΠ΅Ρ‚ΠΎΠ΄ΠΈΠΊΠΈ, практичСскиС Π½Π°Π²Ρ‹ΠΊΠΈ ΠΈ ΡƒΠ²Π΅Ρ€Π΅Π½Π½Ρ‹ΠΉ Ρ€Π΅Π·ΡƒΠ»ΡŒΡ‚Π°Ρ‚. Онлайн ΠΈ ΠΎΡ„Π»Π°ΠΉΠ½ Ρ„ΠΎΡ€ΠΌΠ°Ρ‚Ρ‹.

  9. Ismaelmob Avatar

    Π‘Ρ‚Ρ€ΠΎΠΈΡ‚Π΅Π»ΡŒΠ½Ρ‹ΠΉ ΠΏΠΎΡ€Ρ‚Π°Π» https://garant-jitlo.com.ua соврСмСнныС Ρ‚Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, Π½ΠΎΡ€ΠΌΡ‹ ΠΈ стандарты, Π²Ρ‹Π±ΠΎΡ€ ΠΌΠ°Ρ‚Π΅Ρ€ΠΈΠ°Π»ΠΎΠ², инТСнСрия ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡ‚ΡŒ. ЭкспСртныС Ρ€Π΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°Ρ†ΠΈΠΈ, инструкции ΠΈ Ρ€Π΅Π°Π»ΡŒΠ½Ρ‹Π΅ ΠΏΡ€ΠΈΠΌΠ΅Ρ€Ρ‹ Ρ€Π°Π±ΠΎΡ‚ β€” понятно ΠΈ ΠΏΠΎ Π΄Π΅Π»Ρƒ.

  10. ArchiePap Avatar

    ΠŸΠΎΡ€Ρ‚Π°Π» ΠΎ ΡΡ‚Ρ€ΠΎΠΈΡ‚Π΅Π»ΡŒΡΡ‚Π²Π΅ https://repair-house.kiev.ua ΠΈ Ρ€Π΅ΠΌΠΎΠ½Ρ‚Π΅ Π±Π΅Π· лишнСй Ρ‚Π΅ΠΎΡ€ΠΈΠΈ: практичСскиС совСты, ΠΎΠ±Π·ΠΎΡ€Ρ‹ ΠΌΠ°Ρ‚Π΅Ρ€ΠΈΠ°Π»ΠΎΠ², расчёты, инструмСнты ΠΈ этапы Ρ€Π°Π±ΠΎΡ‚. ПомогаСм ΠΏΠ»Π°Π½ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒ ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Ρ‹, ΠΊΠΎΠ½Ρ‚Ρ€ΠΎΠ»ΠΈΡ€ΠΎΠ²Π°Ρ‚ΡŒ качСство ΠΈ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ‚ΡŒ Π±ΡŽΠ΄ΠΆΠ΅Ρ‚.

  11. Raymondcluse Avatar
    Raymondcluse

    Just now, I wanted to buy anti-parasitic meds tablets and found Ivermectin Express. It offers generic Stromectol no script needed. If you need to treat parasites effectively, this is the best place: ivermectinexpress.com. Hope it helps

Leave a Reply

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