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

  1. MarcusenUrb Avatar
    MarcusenUrb

    ivermectin generic cream: Iver Protocols Guide – Iver Protocols Guide

  2. akademprofi-73 Avatar

    Учишься в МТИ? мти помощь в сдаче: консультации, разъяснение сложных тем, подготовка к тестированию и экзаменам. Удобный формат, быстрые ответы и поддержка на всех этапах обучения.

  3. StevenMor Avatar
    StevenMor

    https://follicle.us.com/# Follicle Insight

  4. CalvinNon Avatar
    CalvinNon

    Zinedine Zidane https://zidan.com.az/ biography, football career, achievements, and coaching successes. Details on his matches, titles, the French national team, and his time at the top clubs in world football.

  5. Michaelles Avatar
    Michaelles

    cheap propecia without insurance: Follicle Insight – Follicle Insight

  6. Arisha33et Avatar

    Hello !
    Good evening. A 33 cool site 1 that I found on the Internet.
    Check out this site. There’s a great article there. https://oneframework.net/the-montessori-nursery-experience-a-unique-approach-to-early-education/|

    There is sure to be a lot of useful and interesting information for you here.
    You’ll find everything you need and more. Feel free to follow the link below.

  7. MarcusenUrb Avatar
    MarcusenUrb

    Amitriptyline: Amitriptyline – Amitriptyline

  8. WalterLeaws Avatar
    WalterLeaws

    https://fertilitypctguide.us.com/# buying generic clomid without prescription

  9. EdwardLaush Avatar
    EdwardLaush

    Iver Protocols Guide Iver Protocols Guide Iver Protocols Guide

  10. Michaelles Avatar
    Michaelles

    Follicle Insight: cost of propecia pills – cost of propecia for sale

  11. MarioBex Avatar
    MarioBex

    Нужна курсовая? написать курсовую Подготовка работ по заданию, методическим указаниям и теме преподавателя. Сроки, правки и сопровождение до сдачи включены.

  12. MarcusenUrb Avatar
    MarcusenUrb

    Generic Elavil: AmiTrip Relief Store – Elavil

  13. StevenMor Avatar
    StevenMor

    https://fertilitypctguide.us.com/# how can i get clomid without a prescription

  14. WalterLeaws Avatar
    WalterLeaws

    https://follicle.us.com/# order cheap propecia no prescription

  15. Michaelles Avatar
    Michaelles

    Iver Protocols Guide: buy stromectol – Iver Protocols Guide

  16. fdertolmrtokev Avatar

    Yay google is my world beater assisted me to find this outstanding site! .

  17. MarcusenUrb Avatar
    MarcusenUrb

    AmiTrip Relief Store: Generic Elavil – AmiTrip

  18. StevenMor Avatar
    StevenMor

    https://iver.us.com/# Iver Protocols Guide

  19. Michaelles Avatar
    Michaelles

    order propecia pills: Follicle Insight – cost of propecia prices

  20. EdwardLaush Avatar
    EdwardLaush

    fertility pct guide fertility pct guide fertility pct guide

  21. WillieNip Avatar
    WillieNip

    Нужен тепловизор? тепловизоры купить в москве для судов, лодок, кораблей, яхт и катеров от производителя: доступные цены, подтверждённое качество и официальная гарантия. Мы оперативно доставляем заказы по всей территории России и стран СНГ. Наши представительства работают в Санкт?Петербурге, Москве и Севастополе — выбирайте удобный пункт выдачи и получайте заказ в минимальные сроки.

  22. WalterLeaws Avatar
    WalterLeaws

    https://follicle.us.com/# buy cheap propecia for sale

  23. MarcusenUrb Avatar
    MarcusenUrb

    buy Elavil: AmiTrip Relief Store – AmiTrip Relief Store

  24. StevenMor Avatar
    StevenMor

    https://fertilitypctguide.us.com/# where to get clomid without dr prescription

  25. Enregistrement Binance Avatar

    Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

  26. Michaelles Avatar
    Michaelles

    Iver Protocols Guide: Iver Protocols Guide – Iver Protocols Guide

  27. MarcusenUrb Avatar
    MarcusenUrb

    Generic Elavil: AmiTrip Relief Store – Generic Elavil

  28. MilesCed Avatar
    MilesCed

    Hey everyone, I recently found a medical guide regarding health treatments, check out this useful resource. It covers usage and risks very well. See details: https://magmaxhealth.com/Methotrexate. Hope this is useful.

  29. DonaldNaila Avatar
    DonaldNaila

    For a complete overview of safety protocols, it is recommended to check the detailed guide on: https://magmaxhealth.com/meclizine.html for safe treatment.

  30. Duanegat Avatar
    Duanegat

    Hi, I recently found dosage instructions on health treatments, I found this health wiki. You can read about safety protocols in detail. Link: https://magmaxhealth.com/Olanzapine. Good info.

  31. DavidPeT Avatar
    DavidPeT

    Greetings, if you need a trusted drugstore to buy medicines online. I recommend MagMaxHealth: toradol. They offer a wide range of meds at the best prices. Cheers.

  32. MilesCed Avatar
    MilesCed

    Hi all, for those searching for dosage instructions regarding health treatments, check out this drug database. It explains safety protocols very well. Reference: https://magmaxhealth.com/Celebrex. Thanks.

  33. Duanegat Avatar
    Duanegat

    Hi all, I recently found detailed information regarding common medicines, take a look at this health wiki. It covers usage and risks very well. See details: https://magmaxhealth.com/Methotrexate. Hope it helps.

  34. DavidPeT Avatar
    DavidPeT

    Greetings, I wanted to share a trusted drugstore to buy pills online. Take a look at this pharmacy: allopurinol. They offer generic tablets at the best prices. Best regards.

  35. NelsonIcope Avatar
    NelsonIcope

    Перешёл на кракен даркнет маркет недавно и очень доволен уровнем безопасности

  36. Danieledget Avatar
    Danieledget

    In terms of side effects and interactions, it is recommended to check the official information page at: https://magmaxhealth.com/protonix.html for safe treatment.

  37. Josephmax Avatar
    Josephmax

    Нужна топлевная крата? https://oilguru.ru: заправка на сетевых АЗС, единый счет, прозрачный учет топлива и онлайн-контроль расходов. Удобное решение для компаний с собственным автопарком.

  38. DonaldNaila Avatar
    DonaldNaila

    regarding the side effects and interactions, data is available at this resource: https://magmaxhealth.com/clomid.html for safe treatment.

  39. Ronaldunuct Avatar
    Ronaldunuct

    Русские подарки купить в интернет-магазине Москвы: сувениры, ремесленные изделия и подарочные наборы с национальным колоритом. Идеальные решения для праздников, гостей и корпоративных подарков.

  40. DavidPeT Avatar
    DavidPeT

    Hi guys, anyone searching for a reliable source for meds to buy medicines cheaply. Take a look at MagMaxHealth: methotrexate. Selling a wide range of meds and huge discounts. Good luck.

  41. MilesCed Avatar
    MilesCed

    Hello, if you are looking for a useful article regarding health treatments, I recommend this online directory. It explains how to take meds very well. Read more here: https://magmaxhealth.com/Lamictal. Thanks.

  42. Duanegat Avatar
    Duanegat

    Hi all, for those searching for a useful article on health treatments, take a look at this online directory. It explains how to take meds in detail. Read more here: https://magmaxhealth.com/Meclizine. Thanks.

  43. DavidPeT Avatar
    DavidPeT

    Hi guys, I wanted to share a great health store to order health products securely. I found this pharmacy: toradol. Selling high quality drugs at the best prices. Cheers.

  44. Danieledget Avatar
    Danieledget

    To understand the proper usage instructions, data is available at the detailed guide on: https://magmaxhealth.com/allopurinol.html to ensure safe treatment.

  45. Duanegat Avatar
    Duanegat

    Hi all, if you are looking for detailed information regarding prescription drugs, take a look at this drug database. You can read about usage and risks clearly. See details: https://magmaxhealth.com/Meclizine. Thanks.

  46. MilesCed Avatar
    MilesCed

    Hello, for those searching for dosage instructions regarding prescription drugs, take a look at this online directory. You can read about safety protocols in detail. Reference: https://magmaxhealth.com/Celebrex. Hope it helps.

Leave a Reply

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