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

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

  1. gitea.biboer.cn Avatar

    References:

    Quicksilver casino

    References:
    https://date-duell.de/@kassiemawson1

  2. www.latflex.net Avatar

    References:

    Casino launceston

    References:
    https://gitea.ontoast.uk/malissaibbott

  3. Peterwoxia Avatar
    Peterwoxia

    legitimate online pharmacy: п»їlegitimate online pharmacies india – foreign online pharmacy

  4. freshteenclips.com Avatar

    References:

    Windcreek casino atmore al

    References:
    https://music.drepic.com/marcosowerby65

  5. robots.rip Avatar

    References:

    San pablo lytton casino

    References:
    https://aladin.tube/@issacbarragan8?page=about

  6. aitune.net Avatar

    References:

    Online casino test

    References:
    https://worldclassdjs.com/soniaschutt669

  7. Grahamcow Avatar
    Grahamcow

    Стратегия защита от подмены товаров и фейковых чеков рассматривает как технические, так и организационные аспекты безопасности при покупке физических товаров в интернете. Мошенники всё чаще используют поддельные квитанции об оплате и привлекают сообщников-курьеров для создания видимости легитимной доставки, что существенно усложняет идентификацию афёры. Статья объясняет, почему стандартная проверка чека через платёжную систему может не помочь, как работают схемы с участием третьих лиц и почему встреча в торговом центре или на парковке иногда оказывается ловушкой. Данный контент особенно полезен для продавцов, которые хотят защитить себя от возвратов по поддельным претензиям и конфликтов с системой выплат. Обучение этим тактикам выявления мошенничества поднимет вашу бдительность и значительно снизит вероятность убытков при работе на досках объявлений.

  8. vydiio.com Avatar

    References:

    California casino las vegas

    References:
    https://quickdate.arenascript.de/@loratolmie948

  9. beatsong.app Avatar

    References:

    Silver nugget casino

    References:
    https://gitee.planhomecloud.cn/ashleycurran14

  10. shamrick.us Avatar

    References:

    Rising star casino

    References:
    https://www.singuratate.ro/@daltonnicastro

  11. app.venusroyale.date Avatar

    References:

    Play online casino games

    References:
    https://www.k0ki-dev.de/tahliamelbourn

  12. git.ihatemen.uk Avatar

    References:

    Hard rock casino cleveland

    References:
    https://camtalking.com/@freyasowell643

  13. www.herzog-it.de Avatar

    References:

    Best online casino bonuses in the uk

    References:
    https://kition.mhl.tuc.gr/doretha45d5872

  14. Marvinprilk Avatar
    Marvinprilk

    can i order online from a mexican pharmacy can i buy meds from mexico online AccessBridge

  15. katambe.com Avatar

    References:

    Los angeles casinos

    References:
    https://asiannearby.com/@alexandraflagg

  16. shiatube.org Avatar

    References:

    Cherokee casino roland

    References:
    https://gitea.shirom.me/linarounds071

  17. git.0935e.com Avatar

    References:

    William hill promo code

    References:
    https://gitea.dsmaster.myds.me/margaret155538

  18. Binance注册 Avatar

    Your article helped me a lot, is there any more related content? Thanks! https://www.binance.info/register?ref=QCGZMHR6

  19. MichaelGab Avatar
    MichaelGab

    https://steadymedspharmacy.com/# reliable canadian pharmacy

  20. git.dglyoo.com Avatar

    References:

    Casino world challenge

    References:
    https://www.ituac.com/rosellabate875

  21. find out this here website bonuses click this over here now look at these guys site here this link address you can find out more read see this here full article learn this here now find out here read more Avatar

    Very interesting points you have mentioned, thanks for posting. “Brass bands are all very well in their place – outdoors and several miles away.” by Sir Thomas Beecham.

  22. neuralkazmain.com Avatar

    References:

    William hill promotional code

    References:
    https://git.vsadygv.com/claudiokellehe

  23. Peterwoxia Avatar
    Peterwoxia

    new pharmacy online: cheapest online pharmacy india – pharmacy order online

  24. clicking here read this check these guys out dig this web site web get more additional resources see here visit this site dig this go to the website discover this info here navigate to this site see this here Avatar

    I’m commenting to let you know what a perfect encounter my princess encountered checking your webblog. She came to find some details, which include what it’s like to possess an amazing giving nature to get many people with ease fully understand some tricky subject matter. You actually exceeded my expected results. Thank you for providing those useful, trusted, educational not to mention cool thoughts on that topic to Gloria.

  25. code.ownwire.net Avatar

    References:

    Geant casino saint louis

    References:
    https://chenxil.top/jrerosalind439

  26. Thomasgow Avatar
    Thomasgow

    trusted online pharmacy: india pharmacy mail order – online pharmacy

  27. choosy.cc Avatar

    References:

    Pennsylvania casinos

    References:
    https://k0ki-dev.com/melvinaaoj434

  28. date.etogetherness.com Avatar

    References:

    Roulette wheel selection

    References:
    https://www.meetgr.com/@cornellcooley7

  29. www.k0ki-dev.de Avatar

    References:

    Best roulette strategy

    References:
    https://hiwifi.denq.us:8418/linnieu8822313

  30. datingmywish.com Avatar

    References:

    Casino poker games

    References:
    https://gitea.wuyuank.com/frederickalutw

  31. MichaelBeeva Avatar
    MichaelBeeva

    http://formulinepharmacy.com/# legal online pharmacies in the us

  32. streamindy.com Avatar

    References:

    Ballys casino las vegas

    References:
    https://git.freno.me/pabloertel3783

Leave a Reply

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