note 28252 rejected from faq.using by nicos
| From: | nicos@php.net | Date: | Tue, 07 Jan 2003 11:35:34 +0000 |
| Subject: | note 28252 rejected from faq.using by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41783@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