mail() problems

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Subliminal
Forum Commoner
Posts: 40
Joined: Thu Oct 23, 2003 8:12 pm

mail() problems

Post 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
User avatar
Michael 01
Forum Commoner
Posts: 87
Joined: Wed Feb 04, 2004 12:26 am

Post by Michael 01 »

You might want to check your settings in your php.ini. file.

Mail Function
Post Reply