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

  1. LarryViofs Avatar
    LarryViofs

    canadian pharmacies online: best online canadian pharmacy – Smart GenRx USA

  2. Leonarddeark Avatar
    Leonarddeark

    zoloft without dr prescription sertraline zoloft Sertraline USA

  3. LinwoodTwirl Avatar
    LinwoodTwirl

    prescription drugs from canada: escrow pharmacy online – gold pharmacy online

  4. BernardExeld Avatar
    BernardExeld

    практичСская космСтология космСтология Ρ†Π΅Π½Ρ‹

  5. binance anm"alan Avatar

    Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

  6. GlennTix Avatar
    GlennTix

    https://sertralineusa.com/# sertraline zoloft

  7. LarryViofs Avatar
    LarryViofs

    sertraline generic: zoloft pill – zoloft buy

  8. LinwoodTwirl Avatar
    LinwoodTwirl

    neurontin oral: Neuro Relief USA – Neuro Relief USA

  9. Leonarddeark Avatar
    Leonarddeark

    Neuro Relief USA Neuro Relief USA neurontin drug

  10. GlennTix Avatar
    GlennTix

    https://neuroreliefusa.shop/# how much is generic neurontin

  11. LinwoodTwirl Avatar
    LinwoodTwirl

    cost of ivermectin: ivermectin 200mg – stromectol 3 mg price

  12. LarryViofs Avatar
    LarryViofs

    zoloft without dr prescription: zoloft pill – sertraline

  13. Miguelron Avatar
    Miguelron

    ΠŸΠΎΠ³Ρ€ΡƒΠ·ΠΈΡ‚Π΅ΡΡŒ Π² ΠΌΠΈΡ€ ΠΊΠΈΠ½ΠΎ https://zonefilm.media с нашим ΠΎΠ½Π»Π°ΠΉΠ½-ΠΊΠΈΠ½ΠΎΡ‚Π΅Π°Ρ‚Ρ€ΠΎΠΌ! Π—Π΄Π΅ΡΡŒ ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ Π½Π°ΠΉΠ΄Π΅Ρ‚ Ρ„ΠΈΠ»ΡŒΠΌΡ‹ для сСбя: ΠΎΡ‚ Π·Π°Ρ…Π²Π°Ρ‚Ρ‹Π²Π°ΡŽΡ‰ΠΈΡ… блокбастСров ΠΈ Ρ‚Ρ€ΠΎΠ³Π°Ρ‚Π΅Π»ΡŒΠ½Ρ‹Ρ… Π΄Ρ€Π°ΠΌ Π΄ΠΎ ΠΌΡƒΠ»ΡŒΡ‚Ρ„ΠΈΠ»ΡŒΠΌΠΎΠ² для всСй сСмьи. Π£Π΄ΠΎΠ±Π½Ρ‹ΠΉ интСрфСйс, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΡŒ ΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° любом устройствС ΠΈ постоянно обновляСмая Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠ°! ΠŸΡ€ΠΈΡΠΎΠ΅Π΄ΠΈΠ½ΡΠΉΡ‚Π΅ΡΡŒ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΠΉΡ‚Π΅ΡΡŒ!

  14. Michaelpal Avatar
    Michaelpal

    НуТСн сувСнир ΠΈΠ»ΠΈ ΠΏΠΎΠ΄Π°Ρ€ΠΎΠΊ? https://gifts-kazan.online для ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΉ ΠΈ мСроприятий. БизнСс-сувСниры, ΠΏΠΎΠ΄Π°Ρ€ΠΎΡ‡Π½Ρ‹Π΅ Π½Π°Π±ΠΎΡ€Ρ‹ ΠΈ рСкламная продукция с пСрсонализациСй ΠΈ доставкой.

  15. GlennTix Avatar
    GlennTix

    http://neuroreliefusa.com/# neurontin 800 mg capsules

  16. Jamesgom Avatar
    Jamesgom

    Π—Π΄Π°Ρ€ΠΎΠ²Π° Π½Π°Ρ€ΠΎΠ΄!
    Нарыл Π»ΡŽΠ±ΠΎΠΏΡ‹Ρ‚Π½ΡƒΡŽ Ρ‚Π΅ΠΌΡƒ.
    Π”ΡƒΠΌΠ°ΡŽ, ΠΌΠ½ΠΎΠ³ΠΈΠΌ Π±ΡƒΠ΄Π΅Ρ‚ ΠΏΠΎΠ»Π΅Π·Π½ΠΎ.
    Π›ΠΈΠ½ΠΊ:

    блэкспрут Π·Π΅Ρ€ΠΊΠ°Π»ΠΎ

    Π’Ρ€ΠΎΠ΄Π΅ Π½ΠΎΡ€ΠΌ.

  17. TracyThics Avatar
    TracyThics

    https://smartgenrxusa.com/# canadian world pharmacy

  18. LinwoodTwirl Avatar
    LinwoodTwirl

    Neuro Relief USA: Neuro Relief USA – Neuro Relief USA

  19. Stanleybop Avatar
    Stanleybop

    Π›ΡƒΡ‡ΡˆΠΈΠ΅ ΠΏΠΎΠ΄Π°Ρ€ΠΊΠΈ ΠΈ сувСниры ΠΊΠΎΡ€ΠΏΠΎΡ€Π°Ρ‚ΠΈΠ²Π½Ρ‹Π΅ ΠΏΠΎΠ΄Π°Ρ€ΠΊΠΈ ΠΊΠ»ΠΈΠ΅Π½Ρ‚Π°ΠΌ нанСсСниС Π»ΠΎΠ³ΠΎΡ‚ΠΈΠΏΠ°, ΠΏΠΎΠ΄Π°Ρ€ΠΎΡ‡Π½Ρ‹Π΅ Π½Π°Π±ΠΎΡ€Ρ‹, ΠΏΡ€ΠΎΠΌΠΎ-продукция ΠΈ Π΄Π΅Π»ΠΎΠ²Ρ‹Π΅ аксСссуары для мСроприятий ΠΈ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΉ.

  20. GlennTix Avatar
    GlennTix

    http://smartgenrxusa.com/# pharmacy in canada for viagra

  21. TracyThics Avatar
    TracyThics
  22. Leonarddeark Avatar
    Leonarddeark

    ivermectin 2% Iver Therapeutics Iver Therapeutics

  23. LinwoodTwirl Avatar
    LinwoodTwirl

    best rated canadian pharmacy: best online pharmacy no prescription – online pharmacy pain relief

  24. LarryViofs Avatar
    LarryViofs

    canadianpharmacymeds com: legitimate mexican pharmacy online – Smart GenRx USA

  25. Gregorylop Avatar
    Gregorylop

    НуТна бытовая химия? срСдства Π±Ρ‹Ρ‚ΠΎΠ²ΠΎΠΉ Ρ…ΠΈΠΌΠΈΠΈ ΠΌΠΎΡŽΡ‰ΠΈΠ΅ ΠΈ чистящиС срСдства, ΠΏΠΎΡ€ΠΎΡˆΠΊΠΈ ΠΈ Π³Π΅Π»ΠΈ. Π£Π΄ΠΎΠ±Π½Ρ‹ΠΉ Π·Π°ΠΊΠ°Π· ΠΎΠ½Π»Π°ΠΉΠ½, Π°ΠΊΡ†ΠΈΠΈ ΠΈ доставка ΠΏΠΎ Π³ΠΎΡ€ΠΎΠ΄Ρƒ ΠΈ Ρ€Π΅Π³ΠΈΠΎΠ½Π°ΠΌ.

  26. Williamsem Avatar
    Williamsem

    Бытовая химия с доставкой бытовая химия ΠΎΠΏΡ‚ΠΎΠΌ срСдства для ΡƒΠ±ΠΎΡ€ΠΊΠΈ, стирки ΠΈ ΡƒΡ…ΠΎΠ΄Π° Π·Π° Π΄ΠΎΠΌΠΎΠΌ. Π¨ΠΈΡ€ΠΎΠΊΠΈΠΉ ассортимСнт, доступныС Ρ†Π΅Π½Ρ‹ ΠΈ удобная ΠΎΠΏΠ»Π°Ρ‚Π°.

  27. TracyThics Avatar
    TracyThics

    https://neuroreliefusa.shop/# gabapentin medication

  28. LinwoodTwirl Avatar
    LinwoodTwirl

    sertraline: zoloft medication – Sertraline USA

  29. Davidanest Avatar
    Davidanest

    UEFA Champions League https://sampiyonlar-ligi.com.az matches, results, and live scores. See the schedule, standings, and draw for Europe’s premier club competition.

  30. LarryViofs Avatar
    LarryViofs

    Iver Therapeutics: Iver Therapeutics – Iver Therapeutics

  31. GlennTix Avatar
    GlennTix

    https://smartgenrxusa.com/# canadian online pharmacy viagra

  32. LinwoodTwirl Avatar
    LinwoodTwirl

    canadian drug pharmacy: cheapest pharmacy canada – canada online pharmacy no prescription

  33. Geraldareme Avatar
    Geraldareme

    Free online games https://1001.com.az/ for your phone and computer. Easy navigation, quick start, and a variety of genres with no downloads required.

  34. Leonarddeark Avatar
    Leonarddeark

    zoloft buy order zoloft zoloft medication

  35. TracyThics Avatar
    TracyThics

    http://smartgenrxusa.com/# canadian pharmacies that deliver to the us

  36. LinwoodTwirl Avatar
    LinwoodTwirl

    neurontin cap 300mg price: neurontin rx – Neuro Relief USA

  37. LarryViofs Avatar
    LarryViofs

    generic zoloft: zoloft buy – zoloft without rx

  38. TracyThics Avatar
    TracyThics

    https://neuroreliefusa.shop/# buy generic neurontin online

  39. GlennTix Avatar
    GlennTix

    http://smartgenrxusa.com/# rate online pharmacies

  40. LinwoodTwirl Avatar
    LinwoodTwirl

    zoloft cheap: generic for zoloft – zoloft medication

  41. WillieHumma Avatar
    WillieHumma

    Turkish Super League https://super-lig.com.az standings, match results, and live online scores. Game schedule and up-to-date team statistics.

  42. LarryViofs Avatar
    LarryViofs

    overseas online pharmacy: Smart GenRx USA – save on pharmacy

  43. Leonarddeark Avatar
    Leonarddeark

    zoloft buy zoloft tablet sertraline generic

Leave a Reply

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