Sending multiple messages

the mail() function

Moderators: macek, egami, gesf

sshapiro
New php-forum User
New php-forum User
Posts: 2
Joined: Thu Jan 24, 2013 10:51 am

Sending multiple messages

Postby sshapiro » Thu Jan 24, 2013 10:59 am

My program works with a small number of messages, but with a large number it fails with the message

"Failed to connect to mailserver at..."

Then some iterations later it gets one through, and then fails again.

I saw a suggestion to open the SMTP server once for the whole program, instead of mail() doing it repeatedly, but I have no idea how to do that.

Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 1 guest