Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Mail

Sending multiple messages

the mail() function

Moderators: macek, egami, gesf

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.
New php-forum User
New php-forum User
Posts: 2
Joined: Thu Jan 24, 2013 10:51 am

Return to PHP coding => Mail

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.