Re: socket connection
| From: | Chris Adams | Date: | Wed, 19 Jul 2000 01:21:06 +0000 |
| Subject: | Re: socket connection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7187@lists.php.net to get a copy of this message | ||
> 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.
Read RFC 822. ftp://ftp.isi.edu/in-notes/rfc822.txt
Note that it's going to be much easier to use PHP's mail() function or one
of the many SMTP classes that have been developed.
Chris