Re: SMTP Authentication - Windows 2000
| From: | Manuel Lemos | Date: | Tue, 07 Jan 2003 23:55:35 +0000 |
| Subject: | Re: SMTP Authentication - Windows 2000 | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17716@lists.php.net to get a copy of this message | ||
Hello,
On 01/07/2003 05:42 PM, Laura E. Hunter wrote:
This looks like the server name in php.ini is wrong.What messages do you get if any?Error message when we invoke the MAIL function is as follows: FATAL ERROR, <servername> has failed... quitting system.
What is that SMTPAuth module? POP based authentication?Could be an issue with Exchange's anti-relay stuff?The Exchange server is configured to allow clients who successfully authenticate to relay mail. (Hence the SMTPAuth module.) This
configuration was working fine until we upgraded the Exchange box to Windows 2000, and except for the OS upgrade, no other configuration changes have been made. So I'm trying to figure out what's different between the NT & 2000 authentication mechanism that has caused SMTPAuth to break.mail() function error messages are often not useful. It also does not support authentication AFAIK. You may want to try this class that lets you specify authentication and if anything fails you can enable debug mode to see the dialog with the server in order to figure where it went wrong. http://www.phpclasses.org/smtpclass You can also use this other class that uses the above to send message via SMTP and comes with a wrapper function named smtp_mail() that emulates the mail() function with several advantages that may help you solve your problem: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos