PHP Eletter App
- Started
- Last post
- 7 Responses
- phirschybar
I want to create an app in PHP which send out HTML eletters to a list (stored in MySQL) of 3000+ addresses. I attempted doing this with this class:
http://phpmailer.sourceforge.net…
However, with so many addresses, this script takes forever to run through and occasionally it chokes on the job completely. Anyone have any recommendations in this department? Should I not be using php? Anyone ever make an eletter sending app?
Help is appreciated.
- phirschybar0
* bump *
- slinky0
only if enobrev was here! *sigh
- phirschybar0
dang.. your right. I forget he was the php guy here. He still visits?
- ldww0
you may want to contact your isp. i did wrote a php mailer and could not figure out why it was not being delivered to all the addressed. my isp said that they have anti-spam security limiting the number of emails that can be sent out in a certain interval from an application. i ended up having to sign up with my isp's mialinglist service. but it works....
- cosmo0
U need to go pass the server timeout. Mine worked in this manner, if u need help mail me.
Try this:
$send_max_emails = 50;
if ($email_counter == $send_max_emails)
{
sleep (3);
$send_max_emails = 0;
}
- phirschybar0
* bump
Hoping to get some more feedback on this. Thanks y'alls.
- enobrev0
there's a lot of reasons why php generally isn't the best way to mass mail. MY personaly recommendation for anything over 1000 emails is to use a perl or python script for speed. There are php mailers that can do the job, but as mentioned a LOT of hosts have maile limiters to curb spammers.
So, if you have a good scriopt, regadless of language, contact your host and see if they have anythign to offer or any info as to why they can't.