Re: Mail() Not working
| From: | Kevin J . Maynard | Date: | Wed, 12 Dec 2001 16:29:18 +0000 |
| Subject: | Re: Mail() Not working | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14965@lists.php.net to get a copy of this message | ||
On Wednesday, December 12, 2001, at 01:14 AM, Cristian Pozzer wrote:
Snip...my php.ini file has the following line in it: SMTP = mail.attbi.com my php script is as follows: <? $email = "to_email"; $from = "from_email"; $mesg = "This is a test email. \r\n"; if (mail($email, "Test", $mesg, $from)) echo "Mail Sent!"; else echo "Mail could not be sent..."; ?>I have the same problem!
Do you have this problem on a OSX Server right?OS X.1, I can't imagine there's much difference. Kevin