Re: Trying to send mail from PHP with SMTP ?
| From: | Sascha Schumann | Date: | Tue, 16 Nov 1999 12:38:17 +0000 |
| Subject: | Re: Trying to send mail from PHP with SMTP ? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-12602@lists.php.net to get a copy of this message | ||
On Tue, Nov 16, 1999 at 05:49:54PM +0500, Mukul Gandhi wrote:
> Hi,
> I am trying to run a PHP script whose code is given below. It will open a
> socket to a SMTP server and send email. But this code not able to send
> email. But it executes ! SMTP commands seem to be right.
>
> ------------------------------------------
> $from = "MAIL FROM:<abc@pqr.com>";
> $to = "MAIL TO:<mgandhi@bhartitelesoft.com>";
RCPT TO:
See RFC 821
--
Regards,
Sascha Schumann
Consultant