Robert Fitzpatrick wrote:
I a currently re-writing a web app from ASP to PHP and have come to the part where the app sends mass mailings to their customer base. This has always been problematic for them with the existing setup and I am looking for the best approach. While I've setup mailings with PHP, never such mass mailings. They will be using a web form to send sometimes 2-5MB attachments to thousands of customers to advertise new products with PDF's, etc. Using their Windows IIS SMTP virtual server smarthost function, I send their mail off-site to our postfix mail gateway, but it still bogs down and I'm sure a remote server is not the answer, but still better than the errors they receive trying to use localhost and IIS. Once the re-write, the app will be on to a Linux box where I can do some tweaking to these and hope localhost will work better for these mailings. Can someone give some pointers at how I may want to approach such mass mailings? Thanks in advance!
As the manager of the ISP department and owner of a few hosting servers of my own, this is my opinion of the problem and how I would solve the problems.
If you were sending HTML formatted emails and included images for the layout, that would be fine. But a 2-5MB attachment? Why would want to send that as an attachment. Give them a link back to your website. If it is a private thing, make them log in.
Why do you think the mail service is bogging down? Every email attachment that you send, unless it is plain text, gets converted to 7bit from 8bit. This will almost double the size of the attachment. Then, if you are sending multiple copies of this attachment, well, just think about the waisted CPU cycles. Get my point yet.
Just create them a nice little email, and include a link that points to the document that would have otherwise been attached. It will cut down on waisted bandwidth. It will only get downloaded by the persons that actually want it.
A win win all the way around. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php