mail() function doesn´t work properly
Posted: Wed May 21, 2008 4:33 am
Hi there,
I got a problem with the php mail() function which obviously delays my script processing a lot. Like e.g. if I run a script that uses mail function the script would work fine till the line where the mail function is, then would take minutes to send a single mail by mail-function, and then would process the rest of the script fine again.
The same script works all fine on other servers I tested. So I assume the reason should be somehow the server setup. Since I got root access to that server I would probably be able to solve the problem if I would know where I would have to look. Does anyone of you know, where to look?
I got a problem with the php mail() function which obviously delays my script processing a lot. Like e.g. if I run a script that uses mail function the script would work fine till the line where the mail function is, then would take minutes to send a single mail by mail-function, and then would process the rest of the script fine again.
The same script works all fine on other servers I tested. So I assume the reason should be somehow the server setup. Since I got root access to that server I would probably be able to solve the problem if I would know where I would have to look. Does anyone of you know, where to look?