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

  1. Michaelanoli Avatar
    Michaelanoli
  2. CraigKab Avatar
    CraigKab

    order azithromycin mexico Unm Pharm Unm Pharm

  3. DelmarDap Avatar
    DelmarDap

    http://umassindiapharm.com/# indian pharmacies safe

  4. Kennethdiera Avatar
    Kennethdiera

    pharmacies in mexico that ship to usa: Unm Pharm – Unm Pharm

  5. JosephBab Avatar
    JosephBab

    Umass India Pharm: Umass India Pharm – Umass India Pharm

  6. Michaelanoli Avatar
    Michaelanoli
  7. Kennethdiera Avatar
    Kennethdiera

    Umass India Pharm: Umass India Pharm – Umass India Pharm

  8. CraigKab Avatar
    CraigKab

    Umass India Pharm Umass India Pharm Umass India Pharm

  9. JosephBab Avatar
    JosephBab

    reputable indian online pharmacy: indian pharmacies safe – Umass India Pharm

  10. DelmarDap Avatar
    DelmarDap

    http://nyupharm.com/# canadian pharmacy ed medications

  11. Kennethdiera Avatar
    Kennethdiera

    northwest canadian pharmacy: Nyu Pharm – canadian pharmacy online reviews

  12. JosephBab Avatar
    JosephBab

    buy cheap meds from a mexican pharmacy: Unm Pharm – buy antibiotics from mexico

  13. www.3scomputers.com Avatar

    hollywood casino toledo ohio

    References:
    https://k1t.kr/herminechristi

  14. CraigKab Avatar
    CraigKab

    Umass India Pharm buy prescription drugs from india Umass India Pharm

  15. Michaelanoli Avatar
    Michaelanoli
  16. Kennethdiera Avatar
    Kennethdiera

    mexican online pharmacies prescription drugs: Unm Pharm – reputable mexican pharmacies online

  17. vulkan vegas auszahlungsdauer Avatar

    Ice Casino bietet nicht nur spannende Spiele, sondern auch eine sichere Spielumgebung. Mit der Real Money Casino App können Sie jederzeit und überall Ihre Lieblingsspiele genießen und dabei echtes Geld verdienen. Wenn Sie Tischspiele mögen, können Sie Roulette, Blackjack, Baccarat und Poker in vielen Variationen genießen. Die Apps erhalten auch ständig Updates, um die Benutzersicherheit zu verbessern und neue Funktionen zur Verbesserung des Spielerlebnisses zu erhalten. Genießen Sie die Spannung und Unterhaltung des mobilen Spielens und erleben Sie die Freiheit, jederzeit und überall zu gewinnen. Sie können nun auf eine Vielzahl von hochwertigen Casino-Spielen zugreifen, darunter Slots, Tischspiele, Live-Casino und vieles mehr. Lasst uns gemeinsam starten und die Vielfalt unserer Handyspiele erkunden.
    Baccarat Online ist bekannt für seine einfachen Regeln und den schnellen Spielablauf, wodurch es sowohl für Neulinge als auch für erfahrene Casino-Besucher attraktiv ist. Online Roulette bietet die digitale Version des klassischen Casino Spiels, bei dem Spieler auf den Ausgang des Spins eines virtuellen Roulette-Rads wetten. Ein spezielles Symbol, das Bonusrunden oder Freispiele auslösen kann, unabhängig von seiner Position auf den Walzen. Sie generieren Tausende von Zahlen pro Sekunde, von denen jede einer bestimmten Kombination von Symbolen auf den Walzen der Automatenspiele entspricht.

    References:
    https://online-spielhallen.de/zetcasino-deutschland-einloggen-spielen-auszahlen/

  18. JosephBab Avatar
    JosephBab

    Umass India Pharm: Umass India Pharm – Umass India Pharm

  19. DelmarDap Avatar
    DelmarDap

    https://nyupharm.com/# best canadian pharmacy

  20. Michaelanoli Avatar
    Michaelanoli

    https://unmpharm.xyz/# safe place to buy semaglutide online mexico

  21. Kennethdiera Avatar
    Kennethdiera

    pharmacies in mexico that ship to usa: mexican rx online – Unm Pharm

  22. JosephBab Avatar
    JosephBab

    canadian family pharmacy: cross border pharmacy canada – pharmacies in canada that ship to the us

  23. CraigKab Avatar
    CraigKab

    accutane mexico buy online buy cheap meds from a mexican pharmacy semaglutide mexico price

  24. Michaelanoli Avatar
    Michaelanoli
  25. Kennethdiera Avatar
    Kennethdiera

    reputable canadian pharmacy: Nyu Pharm – canadian pharmacy sarasota

  26. casinos mit deutsche sprache Avatar

    Das Willkommenspaket ist besonders spielerfreundlich gestaltet, da die Mindesteinzahlung für die erste und dritte Stufe nur 10 Euro beträgt. Einzahlungsboni kommen oft mit zusätzlichen Vorteilen wie Freispielen für beliebte Slot-Spiele. Für Liebhaber klassischer Casinospiele bietet das Verde Casino EU eine breite Palette an Tischspielen. Spieler haben die Möglichkeit, die meisten Slots im Demomodus zu testen (casino demo spielen), was besonders für Anfänger von Vorteil ist. Jegliche Bargeldboni müssen, sofern in den Regeln einer bestimmten Aktion nicht anders angegeben, 40 Mal und Gewinne aus Freispielen – 30 Mal – durchgespielt werden.
    Für Spieler, die unkompliziert spielen, gute Boni mitnehmen und auch mal neue Slots entdecken wollen, ist Verde Casino eine starke Option. Trotzdem fällt meine verde casino bewertung positiv aus. Fehlerbehebung und häufige Probleme verde casino 25€ Das casino verde online Erlebnis bleibt also auch ohne App stark – schnell, stabil und nutzerfreundlich.

    References:
    https://online-spielhallen.de/monro-casino-test-erfahrungen-fur-deutsche-spieler/

  27. JosephBab Avatar
    JosephBab

    Umass India Pharm: Umass India Pharm – best india pharmacy

  28. DelmarDap Avatar
    DelmarDap

    https://umassindiapharm.xyz/# indian pharmacies safe

  29. CraigKab Avatar
    CraigKab

    buy meds from mexican pharmacy Unm Pharm Unm Pharm

Leave a Reply

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