If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Email Problem

Email Problem

Started by rep6400 on 19 Mar 2013, 1:34 AM · Views: 3,883

Results 1 to 20 of 24
19 Mar 2013, 1:34 AM
#1
rep6400 avatar

rep6400

New Zenner

Join Date:
Mar 2012
Posts:
12
Plugin Contributions:
0

Email Problem

Hello,

I have a problem sending email from my store.
I use the following link to debug: http://www.afab-lab.com/store/index.php?main_page=product_info&products_id=1476
and use my email at https://www.afab-lab.com as “Your Email:” and “Friend's Email:”.
I never received any emails to that address.

In order to debug, I set EMAIL_SYSTEM_DEBUG to 5:
define('EMAIL_SYSTEM_DEBUG', 5);
in admin/includes/extra_datafiles/email_debug_on.php

In Admin=>Configuration=>E-Mail Options I did the following:
SMTP Email Account Mailbox use my email at https://www.afab-lab.com
SMTP Email Account Password my password (it work when I login into my email account)
SMTP Email Mail Host smtpout.secureserver.net
SMTP Email Mail Server Port 25

If I Change delivery method to PHP, sendmail, sendmail-f or Qmail, I see the following message on the top of the page:
Your email about Barnstead International Thermolyne Vari-Mix Platform Rocker M797 has been successfully sent to”my email [email protected]”.,
but no email received in my mailbox. The spam folder is empty too.

What am I missing, and what is recommended to do in order to solve the problem.

I would appreciate your help.

Thank you.

Ilya

19 Mar 2013, 2:52 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Email Problem

You need to consult with your host as to the correct settings

SMTP Email Account Mailbox use my email at https://www.afab-lab.com
This is normally not just you domain name it normally is more like

mail.afab-lab.com

SMTP Email Mail Host smtpout.secureserver.net
If it is a "secure server" then port 25 is not secure consult your host for correct port

And if you are actually using ZenCart v1.3.7 then you need to upgrade on your schedule before you are hacked and have to perform a clean and an upgrade

Zen-Venom Get Bitten

19 Mar 2013, 5:37 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: Email Problem

rep6400:

Hello,

I have a problem sending email from my store.
I use the following link to debug: http://www.afab-lab.com/store/index.php?main_page=product_info&products_id=1476
and use my email at www.afab-lab.com as “Your Email:” and “Friend's Email:”.
I never received any emails to that address.

In order to debug, I set EMAIL_SYSTEM_DEBUG to 5:
define('EMAIL_SYSTEM_DEBUG', 5);
in admin/includes/extra_datafiles/email_debug_on.php

If you're testing non-admin emails, then enabling the debug in the admin files won't make any difference. Move that email-debug file to the non-admin side. Then test your email using SMTP (the debug only works on SMTP or SMTPAUTH).

And I don't remember if the email-debug feature was even present in 1.3.7.1 ... that was way back in 2007.

.
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.

19 Mar 2013, 3:03 PM
#4
rep6400 avatar

rep6400

New Zenner

Join Date:
Mar 2012
Posts:
12
Plugin Contributions:
0

Re: Email Problem

kobra:

You need to consult with your host as to the correct settings
This is normally not just you domain name it normally is more like

mail.afab-lab.com


Right. My email is [email protected]

> If it is a "secure server" then port 25 is not secure consult your host for correct port
Great suggestion.Attachment 12208
I will try 80, 3535, 25, 465 (SSL).

> And if you are actually using ZenCart v1.3.7  then you need to upgrade on your schedule before you are hacked and have to perform a clean and an upgrade
Which version would you recommend for upgrade? 
The reason for using 1.3.7.1 is a compatibility with some plugins like Easypopulate and a module QuickBook synchronization that are not free for the recent version.

I appreciate your advice.
19 Mar 2013, 3:43 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Email Problem

Right. My email is [email protected]

That entry is NOT your email account - it is your email server

They provide 2 options
pop.secureserver.net
imap.secureserver.net

Zen-Venom Get Bitten

19 Mar 2013, 6:11 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Email Problem

kobra:

That entry is NOT your email account - it is your email server

They provide 2 options
pop.secureserver.net
imap.secureserver.net

kobra, I think you're getting things mixed up here. They are correctly understanding that they need to use an email address for the username, and that they need the correct SMTP server for the email host.
But you're telling them otherwise, and confusing things.

Plus, you just posted two incoming email server addresses, and Zen Cart doesn't do ANYTHING with incoming email whatsoever. The outbound email server address is what's needed. And rep6400 is already using the correct one.

.
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.

19 Mar 2013, 6:24 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Email Problem

Was responding to this:

You need to consult with your host as to the correct settings
This is normally not just you domain name it normally is more like

mail.afab-lab.com

> 
> **Right. My email is [email protected]**

Zen-Venom Get Bitten

19 Mar 2013, 6:28 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Email Problem

Right, and that was a response to your incorrect reply earlier:> kobra:

You need to consult with your host as to the correct settings

SMTP Email Account Mailbox use my email at www.afab-lab.com
This is normally not just you domain name it normally is more like

mail.afab-lab.com

They were indeed specifically talking about the "SMTP Email Account Mailbox" setting, and saying they "**use my email** at [www.afab-lab.com](http://www.afab-lab.com)". Then you went off talking about servers, when they were talking about emails. 

I'm just pointing out the confusion so it can be disarmed and focus kept on resolving the problem instead of needing to post back and forth trying to get clarification on why you're talking about server addresses when they're talking about email addresses.

.
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.

19 Mar 2013, 6:33 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Email Problem

My Bad!!

Zen-Venom Get Bitten

19 Mar 2013, 7:46 PM
#10
rep6400 avatar

rep6400

New Zenner

Join Date:
Mar 2012
Posts:
12
Plugin Contributions:
0

Re: Email Problem

DrByte:

If you're testing non-admin emails, then enabling the debug in the admin files won't make any difference. Move that email-debug file to the non-admin side. Then test your email using SMTP (the debug only works on SMTP or SMTPAUTH).

And I don't remember if the email-debug feature was even present in 1.3.7.1 ... that was way back in 2007.
My fault. The file I modified was https://www.afab-lab.com/store/includes/functions/functions_email.php
define('EMAIL_SYSTEM_DEBUG', 5);

Actually, https://www.afab-lab.com/store/admin/includes/extra_datafiles/email_debug_on.phpdoes not exist.
Thanks a lot, and I'm sorry for confusing you.

I will follow your recommendation and use SMTP or SMTPAUTH.
The port, probably, will be 465, according to GoDaddy info.

19 Mar 2013, 8:25 PM
#11
rep6400 avatar

rep6400

New Zenner

Join Date:
Mar 2012
Posts:
12
Plugin Contributions:
0

Re: Email Problem

Hello,

I just repeated the tests using ports 465 and 25, and SMTP or SMTPAUTH for transport.


Debug mode is OFF:
define('EMAIL_SYSTEM_DEBUG','0');
in filewww.afab-lab.com/store/includes/functions/functions_email.php

Admin/Configuration/E-mail options:
E-Mail Transport Method: SMTPAUTH
SMTP Email Account Mailbox [email protected]
SMTP Email Account Password mypassword
SMTP Email Mail Host smtpout.secureserver.net
SMTP Email Mail Server Port 465

I go to the following page:
http://www.afab-lab.com/store/index.php?main_page=product_info&products_id=1629
press “tell a friend about us” button, and fill the fields:
Your Name: [email protected]
Your Email: [email protected]
Friend's Name: [email protected]
Friend's Email: [email protected]
After that I press “send” button and receive the following message on the top of the page:
“Your email about YSI Turntable 2710 has been successfully sent to [email protected].”,
but no email is received (the bulk mail folder is empty).


Debug mode is ON:
define('EMAIL_SYSTEM_DEBUG','5');
in filewww.afab-lab.com/store/includes/functions/functions_email.php

Admin/Configuration/E-mail options:
E-Mail Transport Method: SMTPAUTH
SMTP Email Account Mailbox [email protected]
SMTP Email Account Password mypassword
SMTP Email Mail Host smtpout.secureserver.net
SMTP Email Mail Server Port 465

I go to the following page:
http://www.afab-lab.com/store/index.php?main_page=product_info&products_id=1629
press “tell a friend about us” button, and fill the fields:
Your Name: [email protected]
Your Email: [email protected]
Friend's Name: [email protected]
Friend's Email: [email protected]
After that I press “send” button and receive the following message on the top of the page:

SMTP -> ERROR: Failed to connect to server smtpout.secureserver.net 465: Connection refused (111) SMTP -> ERROR: Failed to connect to server smtpout.secureserver.net 465: Connection refused (111)
Warning: Cannot modify header information - headers already sent by (output started at /home/content/43/9041943/html/store/includes/classes/class.smtp.php:123) in/home/content/43/9041943/html/store/includes/functions/functions_general.php on line 44

No email is received (the bulk mail folder is empty).


Change port to 25.

Debug mode is ON:
define('EMAIL_SYSTEM_DEBUG','5');
in filewww.afab-lab.com/store/includes/functions/functions_email.php

Admin/Configuration/E-mail options:
E-Mail Transport Method: SMTPAUTH
SMTP Email Account Mailbox [email protected]
SMTP Email Account Password mypassword
SMTP Email Mail Host smtpout.secureserver.net
SMTP Email Mail Server Port 25

I go to the following page:
http://www.afab-lab.com/store/index.php?main_page=product_info&products_id=1629
press “tell a friend about us” button, and fill the fields:
Your Name: [email protected]
Your Email: [email protected]
Friend's Name: [email protected]
Friend's Email: [email protected]
After that I press “send” button and receive the following message on the top of the page:

SMTP -> ERROR: Failed to connect to server smtpout.secureserver.net 25: Connection refused (111) SMTP -> ERROR: Failed to connect to server smtpout.secureserver.net 25: Connection refused (111)
Warning: Cannot modify header information - headers already sent by (output started at /home/content/43/9041943/html/store/includes/classes/class.smtp.php:123) in/home/content/43/9041943/html/store/includes/functions/functions_general.php on line 44

No email is received (the bulk mail folder is empty).


Change E-Mail Transport Method from SMTPAUTH to SMTP

Debug mode is ON:
define('EMAIL_SYSTEM_DEBUG','5');
in filewww.afab-lab.com/store/includes/functions/functions_email.php

Admin/Configuration/E-mail options:
E-Mail Transport Method: SMTP
SMTP Email Account Mailbox [email protected]
SMTP Email Account Password mypassword
SMTP Email Mail Host smtpout.secureserver.net
SMTP Email Mail Server Port 25

I go to the following page:
http://www.afab-lab.com/store/index.php?main_page=product_info&products_id=1629
press “tell a friend about us” button, and fill the fields:
Your Name: [email protected]
Your Email: [email protected]
Friend's Name: [email protected]
Friend's Email: [email protected]
After that I press “send” button and receive the following message on the top of the page:

SMTP -> ERROR: Failed to connect to server smtpout.secureserver.net 25: Connection refused (111) SMTP -> ERROR: Failed to connect to server smtpout.secureserver.net 25: Connection refused (111)
Warning: Cannot modify header information - headers already sent by (output started at /home/content/43/9041943/html/store/includes/classes/class.smtp.php:123) in/home/content/43/9041943/html/store/includes/functions/functions_general.php on line 44

No email is received (the bulk mail folder is empty).


Change port to 465..

Debug mode is ON:
define('EMAIL_SYSTEM_DEBUG','5');
in filewww.afab-lab.com/store/includes/functions/functions_email.php

Admin/Configuration/E-mail options:
E-Mail Transport Method: SMTP
SMTP Email Account Mailbox [email protected]
SMTP Email Account Password mypassword
SMTP Email Mail Host smtpout.secureserver.net
SMTP Email Mail Server Port 465

I go to the following page:
http://www.afab-lab.com/store/index.php?main_page=product_info&products_id=1629
press “tell a friend about us” button, and fill the fields:
Your Name: [email protected]
Your Email: [email protected]
Friend's Name: [email protected]
Friend's Email: [email protected]
After that I press “send” button and receive the following message on the top of the page:

SMTP -> ERROR: Failed to connect to server smtpout.secureserver.net 465: Connection refused (111) SMTP -> ERROR: Failed to connect to server smtpout.secureserver.net 465: Connection refused (111)
Warning: Cannot modify header information - headers already sent by (output started at /home/content/43/9041943/html/store/includes/classes/class.smtp.php:123) in/home/content/43/9041943/html/store/includes/functions/functions_general.php on line 44

No email is received (the bulk mail folder is empty).

There is link to GoDaddy forum regarding the similar error:
http://support.godaddy.com/groups/email/forum/topic/smtp-error-failed-to-connect-to-server-connection-refused-111/?pc_split_value=3
Unfortunately, that is not about Zen Cart, and my experience is not enough to understand that PHP language:-)

I would appreciate any suggestion from gurus.

Thank you.

19 Mar 2013, 8:41 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Email Problem

SMTP Email Account Mailbox [email protected]

press “tell a friend about us” button, and fill the fields:
Your Name: [email protected]
Your Email: [email protected]
Friend's Name: [email protected]
Friend's Email: [email protected]
[email protected] if all of these are the same you could be creating a "loop" where the from and to are the same address

If you have outlook or outlook express or another local email client try setting your email account up in it
When you are successful
Then use the same settings in ZenCart

Zen-Venom Get Bitten

19 Mar 2013, 8:43 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: Email Problem

rep6400:

Unfortunately, that is not about Zen Cart
Right. This is a problem in your hosting account. Log a support ticket with GoDaddy and get them to fix the problem.
They'll probably tell you to switch back to using "mail()", which in Zen Cart is the same as using the "PHP" transport mode. So do that for them. But then they'll have to assist in the process of tracing the email activity to see what's broken.

.
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.

19 Mar 2013, 8:47 PM
#14
rep6400 avatar

rep6400

New Zenner

Join Date:
Mar 2012
Posts:
12
Plugin Contributions:
0

Re: Email Problem

kobra:

[email protected] if all of these are the same you could be creating a "loop" where the from and to are the same address

I think that this page work like that:

I press "Send"
Zen Cart contacts outgoing GoDaddy email server and request sending email to "[email protected]"
GoDaddy email server receives the request, and sends email to "[email protected]" from "[email protected]".
Go Daddy receives email sent in the previous step.
End of story.

Actually, I do not see a loop here. Am I missing anything?

Thank you.

19 Mar 2013, 8:52 PM
#15
rep6400 avatar

rep6400

New Zenner

Join Date:
Mar 2012
Posts:
12
Plugin Contributions:
0

Re: Email Problem

kobra:

If you have outlook or outlook express or another local email client try setting your email account up in it
When you are successful
Then use the same settings in ZenCart
I try to avoid any additional programms that could interfere with Zen Card emails, so I use https://email18.secureserver.net/webmail.php web mail for that reason.
The web mail settings are below:
Attachment 12210
Are there anything wrong with the settings?

Thanks.

19 Mar 2013, 8:55 PM
#16
rep6400 avatar

rep6400

New Zenner

Join Date:
Mar 2012
Posts:
12
Plugin Contributions:
0

Re: Email Problem

DrByte:

Right. This is a problem in your hosting account. Log a support ticket with GoDaddy and get them to fix the problem.
They'll probably tell you to switch back to using "mail()", which in Zen Cart is the same as using the "PHP" transport mode. So do that for them. But then they'll have to assist in the process of tracing the email activity to see what's broken.
I was almost sure that the problem is with GoDaddy. Now I am sure:-)

I appreciate your kind help, gentlemen!

best.

Ilya

26 Mar 2013, 4:25 PM
#17
rep6400 avatar

rep6400

New Zenner

Join Date:
Mar 2012
Posts:
12
Plugin Contributions:
0

Re: Email Problem

Response to GoDaddy 26 Mar 2013

Thank you for your response.

Go Daddy Support
3/20/2013
1:02 am

Thank you for your response.

Dear Ilya,
Thank you for contacting Online Support. We understand you are inquiring about an issue with your websites email sending ability. Upon reviewing the account we find that there has been successful sent emails within the last 24 hours.
If you do have an option to manage how zen cart sends emails, you may need to ensure the program is using the correct sending email relay server.
If you use the mail() function in your PHP, you do not need to specify an outgoing mail server. If you are using some other method besides mail() in your PHP code, userelay-hosting.secureserver.net for your relay server.

NOTE: A maximum of 1000 emails per day are allowed through our relay servers.

Please let us know if we can assist you in any other way.

Sincerely,
Brian P.
Online Support

Douglas Bane
3/19/2013
2:55 pm
Name : Ilya Lyakhov
Domain Name : https://www.afab-lab.com
ShopperID : 50501897
Phone : 3016935046
Shopper Validated : Yes
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
Issue :
Hello,

I experienced another problem with sending emails.
Several month ago our Zen Cart store http://www.afab-lab.com/store/index.php
was able to send email when new users register their accounts, purchase products, etc. but recently we have found that Zen Card can not send any emails. That sounds strange because we did not change email settings in Zen Cart.

I opened a discussion at Zen Cart Forum http://www.zen-cart.com/showthread.php?206978-Email-Problem where I described what I did and what the result was. The forum experts made a conclusion that the problem is with GoDaddy email hosting settings. I did not change the settings, actually, I even do not know how to do it.

Could you please review the forum link? I would appreciate your advice.

Thank you.

Ilya

Go Daddy Support 3/20/2013 1:02 am
Dear Ilya,

Thank you for contacting Online Support. We understand you are inquiring about an issue with your websites email sending ability. Upon reviewing the account we find that there has been successful sent emails within the last 24 hours. If you do have an option to manage how zen cart sends emails, you may need to ensure the program is using the correct sending email relay server.

If you use the mail() function in your PHP, you do not need to specify an outgoing mail server. If you are using some other method besides mail() in your PHP code, userelay-hosting.secureserver.net for your relay server.

NOTE: A maximum of 1000 emails per day are allowed through our relay servers.

Please let us know if we can assist you in any other way.

Sincerely,
Brian P.
Online Support
Douglas Bane
3/19/2013
2:55 pm
Name : Ilya Lyakhov
Domain Name : https://www.afab-lab.com
ShopperID : 50501897
Phone : 3016935046
Shopper Validated : Yes
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
Issue :
Hello,

I experienced another problem with sending emails.
Several month ago our Zen Cart store http://www.afab-lab.com/store/index.php
was able to send email when new users register their accounts, purchase products, etc. but recently we have found that Zen Card can not send any emails. That sounds strange because we did not change email settings in Zen Cart.

I opened a discussion at Zen Cart Forum http://www.zen-cart.com/showthread.php?206978-Email-Problem where I described what I did and what the result was. The forum experts made a conclusion that the problem is with GoDaddy email hosting settings. I did not change the settings, actually, I even do not know how to do it.

Could you please review the forum link? I would appreciate your advice.

Thank you.

Ilya

Thank you for your response. Unfortunately, the response is not relevant because the reviewer did not read my Posts in Zeh Cart Forum, where I listed on my multiple data.

Did you have a chance to follow my link http://www.zen-cart.com/showthread.php?206978-Email-Problem ?

My server is not functional and the customers are not able to place orderes.

Could you please assign this Ticket HIGHEST priority and solve it ASAB???

I appreciate your help.

Ilya


Dear colleagues, would you please give me an advice or an direction to move?

This sounds like GoDaddy is pretty lazy, not professional, and even not customer friendly.

Thank you.

26 Mar 2013, 5:27 PM
#18
drbyte avatar

drbyte

Sensei

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

Re: Email Problem

Sigh. Sounds like they don't really want to dig in and find out what's wrong. You might need to get on the phone with their supervisor.

Get someone who's not going to just copy-and-paste the same canned response as the last guy did.

.
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.

26 Mar 2013, 6:35 PM
#19
drbyte avatar

drbyte

Sensei

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

Re: Email Problem

.
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.

27 Mar 2013, 1:44 PM
#20
rep6400 avatar

rep6400

New Zenner

Join Date:
Mar 2012
Posts:
12
Plugin Contributions:
0

Re: Email Problem

DrByte:

You might find this tool helpful: http://www.zen-cart.com/downloads.php?do=file&id=1644
Thank you, great module.
I will try it after I clarify the email problem with GoDaddy.