Re: How to send e-mail from within PHP in a M$ platform?
| From: | Manuel Lemos | Date: | Mon, 04 Sep 2000 20:00:40 +0000 |
| Subject: | Re: How to send e-mail from within PHP in a M$ platform? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15175@lists.php.net to get a copy of this message | ||
Hello Paulo,
On 04-Sep-00 08:45:01, you wrote:
>I am currently working on a project where the ISP provides as platform NT
>machines running PHP over Internet Information Server. The function mail()
>does not work.
>PHPINFO() reports variable 'sendmail_path' as having no value.
>How am I supposed to send e-mail? My ISP told me I would have to send e-mail
>using some program like AspEmail.
>Anyone could give me some tips on which should be the easiest way to perform
>this simple task that is to send e-mail from within PHP upon a M$ platform?
Apparently PHP mail() function is broken in the sense that it does not seem
to be handling SMTP multi-line responses. I can confirm if that is the problem
that makes it not work with your ISP SMTP server if you send me the server
address.
It does not matter what that means now. What matters is that may needs
fixing. A bug report is in the way.
While that does not happen you may want to try this PHP SMTP client class
that not only handles multi-line responses, it also supports ESMTP
PIPELINING extension if available on the SMTP server (usually it is) that
makes the delivery of messages to multiple recipents much more efficient.
http://phpclasses.UpperDesign.com/browse.html/package/14
Use this until Windows PHP mail function gets fixed.
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
--