Re: About mail() function
| From: | Derek Paterson | Date: | Fri, 01 Sep 2000 15:21:05 +0000 |
| Subject: | Re: About mail() function | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2368@lists.php.net to get a copy of this message | ||
I run PHP on WinNT (admittedly with a mail server on the same box although I
don't think it matters), if you're sending plain text no headers are
required.
Derek
----- Original Message -----
From: "Andy Hoffman" <andy.hoffman@bms.com>
To: <php-windows@lists.php.net>
Sent: 01 September 2000 16:01
Subject: Re: [PHP-WIN] About mail() function
> Nashirak Bosk wrote:
>
> > I think it is nessasary to have some version of Send Mail running.
> >
>
> Not necessarily... especially not in a Windows environment, where sendmail
> doesn't REALLY exist (though there are some win32 ports :))... If running
on
> linux/unix this is definitely true, but on WinNT, you specifically state
your
> SMTP server settings in the php.ini. In the WinNT case, the sendmail path
> information in php.ini is skipped and php connects straight to the smtp
server
> for sending mail. Now, if the SMTP server isn't configured correctly in
> php.ini, OR you don't state a full set of headers when calling mail(),
then
> you'll have problems... and I don't believe the SMTP server has to be on
the
> same NT box as your web server & php - but it must be accessible either by
a
> straight IP address, or via a dns entry.
>
> Or am I talking out of my hindquarters again?
>
> --
> Andy Hoffman
> Web Developer
> Bristol-Myers Squibb
> email: andy.hoffman@bms.com
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>