Re: About mail() function

From: Date: Fri, 01 Sep 2000 15:01:44 +0000
Subject: Re: About mail() function
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-2366@lists.php.net to get a copy of this message
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

« previous php.windows (#2366) next »