Re: MAIL And PHP Question

From: Date: Tue, 13 Mar 2001 06:15:46 +0000
Subject: Re: MAIL And PHP Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43625@lists.php.net to get a copy of this message
On 12 Mar 2001 21:47:44 -0800, James Lamb <james@oranged.to> wrote: >Can PHP talk directly to the SMTP server, i know that there is a mail() >function but this cannnot specify the reply-to and from addresses easily. Yes, but it's less work to specify reply-to and from using mail(). If you do want to do this, PHP's socket library allows you to directly connect to an SMTP server and send the appropriate commands. There are several PHP classes available which do this - search your favorite PHP code repository - if you don't want to become a lot more familar with RFC 822.

« previous php.general (#43625) next »