RE: [PHP] How to send e-mail from within PHP in a M$ platform?
| From: | php at brazilinfo dot com | Date: | Mon, 04 Sep 2000 13:34:22 +0000 |
| Subject: | RE: [PHP] How to send e-mail from within PHP in a M$ platform? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15122@lists.php.net to get a copy of this message | ||
Matt Williams <matt@yewlands.com> said:
> Hi
>
> the easiest way is to put your smtp server address in the php.ini.
>
Apparently just that does not suffices... My ISP's php.ini file already has
the directive SMTP correctly setup. The problem seems to be really that
directive specifying the sendmail_path is not set, and probably cannot, since
MS environment should use another means to send e-mail instead of a command
line utility (such as MS Exchange). I tryed doing an ASP script and it worked
fine, so I probably should invoke this script from within PHP. Any comments
about that?
Thanks,
Paulo
> All mails would be routed through this
>
> M@
>
> > -----Original Message-----
> > From: php@brazilinfo.com [mailto:php@brazilinfo.com]
> > Sent: Monday, September 04, 2000 12:45
> > To: php-general@lists.php.net
> > Subject: [PHP] How to send e-mail from within PHP in a M$ platform?
> >
> >
> > Hi,
> >
> > 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?
> >
> > TIA,
> > Paulo
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
--