I have a couple of questions about the MAIL function:
(1) Whenever I send mail to customers using this function, I would like to have any error messages (e.g. Mailer-Daemons, auto-replies) sent to a specific address. Right now I'm guessing the error messages are going to some default address -- most likely to my web host. Does anyone know how I can have all error messages come to me?
(2) I'm looking for an automatic way to send out our newsletter to about 5,000 e-subscribers. Has anyone developed any PHP code where I can pull, say, the first 100 addresses from the table, send the newsletter to them, and then have the browser pause for a minute, and then send to the next 100. I think the browser would time-out if I sent all 5,000 at once. Basically, I don't know how to make the browser pause and then move on to run a query, or go to a new page where there's a new query waiting.
Thanks in advance for your help, everyone!
-Jon