Re: Mail() Failing to connect

From: Date: Mon, 03 Mar 2003 02:41:12 +0000
Subject: Re: Mail() Failing to connect
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137833@lists.php.net to get a copy of this message
Hello, On 02/28/2003 05:24 PM, Gary wrote:
Does anyone have any idea of why I may be getting this error, when my scripts ran perfectly fine before (i don't know what). Is there some kind of setting in my mail program that may have changed? I'm using Outlook with Exchange Server. Warning: Failed to Connect in d:\apache\htdocs/emailtest.php on line 43
Either you have not configured the SMTP server right in php.ini or that may be a bug in the mail() function. Either way, you may want to try this class that comes with a sub class to send via SMTP. You can enable the debug mode to see the SMTP dialog so you can figure what is the problem: http://www.phpclasses.org/mimemessage Use it in conjunction with this: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos

« previous php.general (#137833) next »