problem with mail() function
| From: | Shiho Harada | Date: | Thu, 23 Mar 2000 21:18:34 +0000 |
| Subject: | problem with mail() function | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12542@lists.php.net to get a copy of this message | ||
I am having problem with build in mail() function. it gives me error "Failed to receive in
..." and the file path. My code is just simple mail function call with string variable of
receiver, subject, and body. Is this something to do with Microsoft SMTP server? If it is please let
me know what I need to change. I am working on windows 2000 server with apache web server. My code
looks like this:
mail("receiver@address.com", "welcome!", "Here goes the real text of the
e-mail.");
echo("mail is sent");
After the error message, it does print the line "mail is sent".
Thank you for your help.