note 28252 added to faq.using
| From: | softelance at hotmail dot com | Date: | Tue, 07 Jan 2003 11:33:37 +0000 |
| Subject: | note 28252 added to faq.using | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41782@lists.php.net to get a copy of this message | ||
When i run a mail function from a windows NT PHP 4.2.2
Code of that php file consists as
****
$msg="Message Body";
$to="softelance@hotmail.com";
$subject="Subject";
$mailheaders="From:localhost <me@localhost.com>\r\n";
mail($to,$subject,$msg,$mailheaders);
****
I get the error sever error and i tried many possibilities but same error always persists.When i
contacted the hosting people they say your program fault ANy body who can help me out of getting
this error whenver i run a mail function..
Warning: Server Error in E:\hshome\sipmicro\sipmicro.co.in\mailcheck.php on line 7
--
http://www.php.net/manual/en/faq.using.php
http://master.php.net/manage/user-notes.php?action=edit+28252
http://master.php.net/manage/user-notes.php?action=delete+28252
http://master.php.net/manage/user-notes.php?action=reject+28252