简体   繁体   中英

Best way to send HTML email to group of people in MySQL table?

I would like to know what the best way to email a list of people (>=2000) from a MySQL database is. I would like to send an HTML email to the people retrieved from a table in this MySQL database. I know that there are existing programs or "mass mailers" but I was told that using them might make my domain blacklisted. What if I wrote a small program and made that separate the email recipients in chunks of, say, 200, and loop through these blocks...would that be a better/safer way?

Thanks in advance, Tim

The art of getting UCE (Unsolicited Commercial Email) through the maze of spam filters changes daily. I have a couple of suggestions:

1) Make sure your content is legitimate and professional... people will be less likely to report your stuff as spam.

2) Use the SMTP server of your ISP to send the mail. Most ISPs do a lot of work to ensure that their servers are not blacklisted. One of the worst things you can do is send it from your own computer/workstation from a dynamic IP address (coffee shop, home cable modem), since that your computer is not in the family of known mail servers (mostly defined by special types of DNS records). Your ISP's mail server is likely able to handle a large volume of mail properly without causing issues with spam filtering/delivery.

This could of course bring you up against your ISP's terms of service, but if you're sending the mail as a legitimate business communication you should be fine. Check with their technical support before you send it to make sure you're doing it by the book.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM