Forums / General Questions / can't seem to generate an email using Tools > Send Email

can't seem to generate an email using Tools > Send Email

Locked

Views: 4,740

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
10 Dec 2007, 6:40 PM
#1
earl_parker_ii avatar

earl_parker_ii

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

can't seem to generate an email using Tools > Send Email

First, I'd like to say that I'm a complete newbie to both Zen Cart and this forum but I can already see that it's going to be an excellent resource that I'll use often.

Before I state my issue I should say that I have spent most of today going through the FAQs, quite a number of posts in this forum and the appropriate section of 'e-Start You Web Store with Zen Cart' (an excellent reference, BTW) and can't quite find the answer I need.

My issue is that when I try to use Tools > Send Email to send a test email, I'm basically getting nothing. I do not receive an email and there are no records in the zen_email_archive table.

My settings are as follows:
E-Mail Transport Method smtpauth (Windows server)
E-Mail Linefeeds CRLF
Use MIME HTML When Sending Emails false
Send E-Mails true
Verify E-Mail Addresses Through DNS false
Email Archiving Active? true
Emails must send from known domain? Yes

To the best of my knowledge (bet you hear that a lot...) the SMTP Email Account Mailbox, SMTP Email Account Password, SMTP Email Mail Host and SMTP Email Mail Server Port settings are correct.

The hosting account is with GoDaddy and SMTP relays have been set at 250. I've sent the same email outside Zen Cart and everything works fine.

Doubtless I've overlooked a detail or am doing something stupid (my best thing) but I'm just not seeing it. If anyone has some pearls of wisdom they'd like to share I'm certainly listening. I'll be happy to answer questions or provide more detail if needed.

10 Dec 2007, 6:43 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: can't seem to generate an email using Tools > Send Email

What version of Zen Cart do you have installed?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

10 Dec 2007, 8:09 PM
#3
earl_parker_ii avatar

earl_parker_ii

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: can't seem to generate an email using Tools > Send Email

Thanks for the fast reply! That would be version 1.3.7.1- should have thought to include that before...

10 Dec 2007, 9:10 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: can't seem to generate an email using Tools > Send Email

Do "all" emails fail, or just the ones from the Admin "Send Mail" screen? (what about account-creation, or placing an order, etc)
How do you know the email isn't generating? Are you getting a specific error message? Or are you just not seeing it arrive in the destination mailbox?
Are you testing with a "free" email address (not recommended) or a "real" one tied to a hosting account?
Does this happen to "every" email address you try, or just certain ones?

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

10 Dec 2007, 9:36 PM
#5
earl_parker_ii avatar

earl_parker_ii

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: can't seem to generate an email using Tools > Send Email

Thanks for replying!

The answers in order:

  1. The ones from the Admin "Send Email" screen. Perhaps I should have gone farther but that's as far as I've gotten in setting things up. My rationale was 'if this doesn't work, why go farther until it does'. Maybe the wrong rationale...

  2. It isn't arriving in the destination mail box and no records are being generated in the zen_email_archive table.

  3. Testing with a real one tied to a hosting account.

  4. It has happened with a couple so far- they're known good email addresses.

Note: this cart is on a remote web host server and not a local machine.

10 Dec 2007, 9:43 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: can't seem to generate an email using Tools > Send Email

Earl Parker II:

Thanks for the fast reply! That would be version 1.3.7.1

Somewhat unrelated to email issues ... I might suggest upgrading to v1.3.8 since it's got 11 months of bugfixes in it. If you're just starting out with things, it's likely prudent to start with the most up-to-date code base, rather than upgrading after you've customized a number of things.

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

10 Dec 2007, 9:51 PM
#7
earl_parker_ii avatar

earl_parker_ii

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: can't seem to generate an email using Tools > Send Email

I'll double-check but I'm fairly sure that 1.3.7.1 is the latest version my web host offers.

Going home for the day, will be back in the AM.

11 Dec 2007, 4:58 AM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: can't seem to generate an email using Tools > Send Email

Just because that is what is on your host is rather immaterial. You need to download and install the latest code. It is not difficult, although it is not a one-click install.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

11 Dec 2007, 1:16 PM
#9
earl_parker_ii avatar

earl_parker_ii

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: can't seem to generate an email using Tools > Send Email

Apparently there is a concept that I'm simply not grasping- and I say that honestly. The shopping cart is part of our hosting package, which is on a remote (InMotion web hosting) server. The latest version of the shopping cart they offer is 1.3.7.1. I'm not sure how I can download version 1.3.8.0 and install it on their server- or is there a bigger picture that I'm missing?

11 Dec 2007, 1:39 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: can't seem to generate an email using Tools > Send Email

Earl Parker II:

My issue is that when I try to use Tools > Send Email to send a test email, I'm basically getting nothing. I do not receive an email and there are no records in the zen_email_archive table.If emails aren't reaching the email_archive table, then it would seem that Zen Cart is failing to connect to the mailserver successfully.

Causes for failure using SMTPAUTH mode:

  • invalid information set for any or several of the SMTP settings: server, port, username, password
  • bad files on server, perhaps due to customizing various language files and mistakenly creating a PHP syntax error in the process, causing the email script to die before it gets a chance to send

If your hosting company is smart enough to have given you access to server errorlogs, there might be some information in there about what's going wrong.

Additionally, you could try editing the /includes/functions/functions_email.php file ... in the top of that file is a "define" statement for "debug" settings. It's normally set to 0. Change it to 5 and test sending an email again. What happens?

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

11 Dec 2007, 1:56 PM
#11
earl_parker_ii avatar

earl_parker_ii

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: can't seem to generate an email using Tools > Send Email

Folks, I appreciate all the replies and, DrByte, your last post made me realize what was wrong- it is now working. I'd tell you what the solution was but I'm afraid I'd be banned from this forum on the grounds of gross stupidity. Let's just say there was one setting that wasn't correct and leave it at that.

You have all been very helpful and I will be back!

11 Dec 2007, 2:09 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: can't seem to generate an email using Tools > Send Email

Sometimes staring at things for too long causes us to miss the obvious.
Glad you got it sorted out.

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