http://php.net/mail

$headers = "From: [EMAIL PROTECTED]\r\n
$headers .= "Reply-to: [EMAIL PROTECTED]\r\n";
$headers .= "X-anything-you-want: Custom headers can be useful or fun\r\n";

$success = mail($to, $subject, $body, $headers);
if ($success){
    # Mail was successfully queued for sending
}
else{
    # Mail queue-ing failed.
}

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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
----- Original Message -----
From: Rosen <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 2:18 AM
Subject: Send mail via exact account


> Hi,
> I want to send mail via exact account ( i.e. [EMAIL PROTECTED] ).
>
> can I do it with php ?
>
> Thanks
> Rosen
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to