Re: socket connection
| From: | Manuel Lemos | Date: | Wed, 19 Jul 2000 19:58:41 +0000 |
| Subject: | Re: socket connection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7369@lists.php.net to get a copy of this message | ||
Hello Mukul,
On 18-Jul-00 22:33:45, you wrote:
>Any idea how after connecting to a SMTP server... what
>should be sent to the SMTP server to send a mail.. i
>mean the headers.
HELO myhost, MAIL FROM:<myaddress>, RCPT TO:<toaddress>, DATA. Headers are
part of data. If you don't want to bother to read the RFC 822, you may want to
look into this PHP SMTP client class that connects to any SMTP server relay
messages:
http://phpclasses.UpperDesign.com/browse.html/package/14
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--