Best way to test a batch email script
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-04-19T04:52:53Z
Indexed on
2010/04/19
5:03 UTC
Read the original article
Hit count: 257
I have a php mail script sitting on a LAMP vps server. The script grabs about 1000 emails and sends them each an html email.
I tested the script with about half a dozen of my own test email accounts and things worked fine. But I am concerned something may go wrong when I actually use this script for 1000 emails. Some things I would like to test for are 1) Confirm all 1000 emails were sent and received 2) Test to make sure emails did not end up in people's spam folders 3) Detect any other general failures
Does anyone have suggestions on how I can test for the above cases? I would like to read about your experiences building batch email scripts.
© Stack Overflow or respective owner