Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending Email To 1,000+ Users On Same Connection

Status
Not open for further replies.

kavukattu

Programmer
Apr 29, 2002
13
US
I have postfix set up as my smtp server, and the sendmail wrapper so that my PHP apps can send email through postfix.

In general, I can send out email just fine from my PHP apps.

I have a particular script that has to send out about 1,400 emails. So with PHP, I open a socket connection to the local SMTP server, I add all of the messages I want to send out (all 1,4000), and I close the connection. And NONE of the emails go. When I tail the logs, I see the first 3 email addresses from the list...and it just stops.

To debug, I had it send 1,400 emails to my GMail account (same script)...and I received ALL of the html messages...ack! I cannot understand why this works fine, but when I use the list of 1,400 different email addresses....it does not work.

Just to note, this is a small email, like a paragraph of text. The PHP script is not timing out or anything, and I do not see any errors from Postfix. But I might not be looking in the right place.

Anybody have any ideas or suggestions? I'm at a loss.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top