Page 1 of 1

mail() problems

Posted: Fri Feb 06, 2004 6:51 pm
by Subliminal
Hi,

Using php.net's mail() example:

Code: Select all

<?php
mail("joecool@example.com", "My Subject", "Line 1\nLine 2\nLine 3");
?>
my browser sits there for 60seconds and then says it timed out. I have tried another webserver i have. the first one is running 4.3.4 the other 4.1.2 installed on a MAC OS X SERVER each one is setup as a SMTP server (everything is running normally there)

Any ideas? What am i missing?

Thanks in advance.

Graham

Posted: Fri Feb 06, 2004 7:37 pm
by Michael 01
You might want to check your settings in your php.ini. file.

Mail Function