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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php