Re: Send mail via exact account

From: Date: Sat, 01 Sep 2001 00:24:12 +0000
Subject: Re: Send mail via exact account
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65569@lists.php.net to get a copy of this message
http://php.net/mail $headers = "From: support@somehost.com\r\n $headers .= "Reply-to: support@somehost.com\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 richard@zend.com address is an endangered species -- Use ceo@l-i-e.com 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 <rosen_dm@dir.bg> Newsgroups: php.general To: <php-general@lists.php.net> 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. support@somehost.com ). > > can I do it with php ? > > Thanks > Rosen > >

« previous php.general (#65569) next »