Originally Posted by
twistertires
I am having trouble with the smtp host on 1.3.8 as well.
I set the debugging in the functions_email.php to 5, and this is the result I get. The url appears to be malformed, usually I would expect to see smtp://127.0.0.0.1 or something similar.
SMTP -> ERROR: Failed to connect to server ://127.0.0.1 25: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)
Email Error: SMTP Error: Could not connect to SMTP host.
My email settings are below, I'm running IIS6's smtp host with open relay and telneting to 127.0.0.1 25 will allow me to send a message. The email archive in zencart is empty as well.
E-Mail Transport Method smtp
SMTP Email Account Mailbox
SMTP Email Account Password
SMTP Email Mail Host 127.0.0.1
SMTP Email Mail Server Port 25
twistertires,
It shouldn't be trying to add :// to your server address unless you've attempted to configure it to use other than default protocols.
Hack this out of your /includes/classes/class.smtp.php to bypass all support for other protocols:
Code:
if($this-Protocol != '') $host = $this->Protocol."://".$host;
CORRECTION: Removing the line is unnecessary. Fixing the typo in it is the better solution. Posted here:
http://www.zen-cart.com/forum/showthread.php?t=82570
Bookmarks