PHP Mass emailing

前端 未结 5 405
没有蜡笔的小新
没有蜡笔的小新 2021-01-15 09:12

I work for a small marketing company that has asked me to develop a PHP application to send emails for their company without getting blacklisted or emails showing up as spam

相关标签:
5条回答
  • 2021-01-15 09:29

    If you are sending legit emails you should look into SPF.

    Only validates an IP as valid sender of emails from a certain domain. Does not validate content or ensure safe passage through spamfilters. But since spam is illegal in many countries, this validation means they know who to sue/fine.

    0 讨论(0)
  • 2021-01-15 09:31

    The best way to be not be considered as spam and not being blacklisted is to send legitimate emails.

    There is no problem sending a lot of mails from the same IP if no recipient mark it as "spam" at the end. To achieve this, a lot of things have to be taken into consideration:

    1. Having good lists with opt-in is not an option.
    2. Track bounces (both soft and hard), so you don't send unnecessary emails (don't send again emails to hard bounces, try again sometimes for the soft bounces and remove them if successful).
    3. Run spam tests before sending bulk (SpamAssasin, etc.) (no advertising, but Litmus does that)

    In fact, if you do everything good, your IP can end up with a good sending reputation and more mails will get to the inbox. Also be aware that when sending bulk, not everybody gets the email at the end. Some of them are "lost" by different filters in the middle of the process.

    If you never sent mail from an IP, try to be progressive and do not send 1 millions the same month. I advice you to be progressive on how many mail send 1 IP.

    Look at what specialized companies do. For example, you can learn a lot from Campaign Monitor and MailChimp. They have really great blog and resources to look at. Follow their blog, keep informed.

    0 讨论(0)
  • 2021-01-15 09:32

    A company I work with has had success using an Open Source (LGLP license) project called PHPMailer for a similar function -- maybe this would be a good start for you?

    EDIT: PHPMailer is great software but I spoke too quickly. I meant to say phplist.

    0 讨论(0)
  • 2021-01-15 09:43

    You're company is willing to buy hardware, but not pay $500 to have a company do it? For doing large mailings, you can use SwiftMailer. It has certain features to support bulk mailings and is written in PHP.

    However, not getting blacklisted or put in the spam folder has nothing to do with hardware or software. You need a valid domain and valid emails. Put "V1agra" in an email an it probably won't get received by anyone, not matter what you are using.

    0 讨论(0)
  • 2021-01-15 09:45

    well, you may simply use mail() but no amount of PHP is going to help you get past spam filters. They use blacklists, statistical filters, human-filters, neural networks and all kinds of technologies to determine if someone is sending spam. 1.000.000 emails per month sounds like spam to me, so most likely you'll be tagged as "spammer" :)

    0 讨论(0)
提交回复
热议问题