PHP Mass emailing

大城市里の小女人 提交于 2019-12-01 09:38:36
Savageman

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.

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.

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.

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.

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" :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!