Forums / General Questions / //ERROR: Failed sending email to:// Please help

//ERROR: Failed sending email to:// Please help

Locked

Views: 5,349

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
16 Sep 2008, 6:30 PM
#1
adamadam avatar

adamadam

New Zenner

Join Date:
Aug 2008
Posts:
6
Plugin Contributions:
0

//ERROR: Failed sending email to:// Please help

Okay. I got my ZenCart setup linked to paypal everything should work smoothly.
Nope.
When I try to process an order on my site I get an SMTP error.

So I went into the admin and went to 'tools' 'send email' to test it out.
i get the following msg when I try to email

ERROR: Failed sending email to: "name here" with subject: "subject goes here" SMTP Error: Could not connect to SMTP host.

So I went into 'configuration' 'email options'
I tried php, smtp, smtpauth, and still doesn't work.

for the email, pw, and host i tired many different options. i verified that everything is correct

we are running on a windows 2003 server and iis6.0 and php5 and mysql 5 and hmailserver

what should i do now? thanks for your help

16 Sep 2008, 7:03 PM
#2
adamadam avatar

adamadam

New Zenner

Join Date:
Aug 2008
Posts:
6
Plugin Contributions:
0

Re: //ERROR: Failed sending email to:// Please help

also tried troublshooting at
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems

still nothing.

we installed smtp virtual server on iis and we changed the port to 50025 because 25 has email installed already on it.

we tried using hostname 'localhost'
and no user name and no pw and set to port 50025

also tried using a gmail acct with 'smtpauth' wtih friendly errors 'false' and port '587' and 'smtp.gmail.com'
when we did that we get this error
SMTP -> ERROR: Failed to connect to server ://smtp.gmail.com 587: 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.

please help we're stuck

16 Sep 2008, 8:00 PM
#3
adamadam avatar

adamadam

New Zenner

Join Date:
Aug 2008
Posts:
6
Plugin Contributions:
0

Re: //ERROR: Failed sending email to:// Please help

k guys i figured it out. for those that my be experiencing the same problem here was our solution
http://www.zen-cart.com/forum/showthread.php?t=82570

on line 118 on file /includes/classes/class.smtp.php

there is a typo.

you will know when you the code is generated it puts in '://'
we were like why is that coming up. basically you need to put the < in the code so it fixes that.

peace

16 Sep 2008, 9:10 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: //ERROR: Failed sending email to:// Please help

Or you could just use v1.3.8a which already has that line fixed.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Sep 2008, 11:06 PM
#5
adamadam avatar

adamadam

New Zenner

Join Date:
Aug 2008
Posts:
6
Plugin Contributions:
0

Re: //ERROR: Failed sending email to:// Please help

haha. yeah that would have helped.
i assumed that when i clicked 'check for updates' and it told me, "Your version of Zen Cart™ appears to be current," that i had the most recent version. :huh:

7 Dec 2008, 9:27 PM
#6
cyberphreaksllp avatar

cyberphreaksllp

New Zenner

Join Date:
Dec 2008
Posts:
5
Plugin Contributions:
0

Re: //ERROR: Failed sending email to:// Please help

adamadam:

k guys i figured it out. for those that my be experiencing the same problem here was our solution
http://www.zen-cart.com/forum/showthread.php?t=82570

on line 118 on file /includes/classes/class.smtp.php

there is a typo.

you will know when you the code is generated it puts in '://'
we were like why is that coming up. basically you need to put the < in the code so it fixes that.

peace

OMG I HAVE EVEN HAD MY HOST'S TECH SUPPORT STUMPED TILL I READ THIS!! LMAO! :oops:

Phillip

3 Mar 2009, 4:01 PM
#7
junzilang avatar

junzilang

New Zenner

Join Date:
Feb 2009
Posts:
6
Plugin Contributions:
0

Re: //ERROR: Failed sending email to:// Please help

but, in fact, I still have this problem here, I use localhost as the smtp server to test all the function, also the emails could work well while the test id buying on store----it can send emails----but while I process the order------the problem will like this: ERROR: Failed sending email to: "mr test" with subject: "ytr" The following From address failed: [email protected]