Re: Mail
| From: | Richard Lynch | Date: | Mon, 19 Feb 2001 07:08:09 +0000 |
| Subject: | Re: Mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40529@lists.php.net to get a copy of this message | ||
> can somone give me a mail sending script it's like whatever i do there
> is always a error
I suspect the error is not in your actual script but in how you set up your
mail in php.ini...
Here's a test script:
<?php
$headers = "From: BrandonFeldhahn@earthlink.net\r\n";
$headers .= "Reply-to: BrandonFeldhahn@earthlink.net\r\n";
mail('BrandonFeldhahn@earthlink.net', 'Test', 'This is a test',
$headers);
?>
What's the error message?
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm