I am very frustrated. I have a simple (at least I think it is)
script that pulls email addresses, populates a text file and sends
it out. BUT it is sending the email TWICE! I am not an experienced
php/mysql person and using phpmailer has been great up until now,
but I think everything is correct. If some one has an idea of why
it's sending the message twice, that would be great. Is this a
phpmailer problem or something else?
I'd guess something else.
The email list is about 2,600 people. As mentioned before, this
problem is only a recent one. The list has been growing steadily.
The emails are received not at the same time, but about 15 - 20 or
so minutes apart from each other. This makes me think the script is
running twice.
So test your theory. Have the script log every time it runs and look
at the log to see if it's running more than it should.
Could it be the size of the list? Could the browser call the script
again, for some reason, part of the way through?
That's another testable theory. Call the script from a different
browser or the command line.
Is there a setting in phpmailer I am missing to set something so it
won't send twice?
No. PHPmailer isn't sending it twice unless you have some non-
standard, broken version.
Has this something to to with something timing out?
Again, this is something you and only you can test. Anything anyone
else says is just guesswork.
Peace,
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden