Zen Cart Logo
Forums / General Questions / Major Email Problem: some send, some don't

Major Email Problem: some send, some don't

Locked

Views: 8,164

Results 1 to 20 of 27
This thread is locked. New replies are disabled.
26 Jan 2007, 1:10 PM
#1
darinland avatar

darinland

New Zenner

Join Date:
Jan 2007
Posts:
15
Plugin Contributions:
0

Major Email Problem: some send, some don't

I was wondering if you can help me with a problem I'm having with Zencart emails. Some emails are sending/some are not, as follows:

Order Confirmation/Status emails send fine
Contact Us Form Emails send fine

but, none of these mails send at all:

Welcome emails
Newsletters
Emails sent to specific customers
Product Notifications
Low stock notices

I am running the latest version of ZenCart (just downloaded last week).

I'm really tearing my hair out over this, as I have a very tight deadline to get this store up, and I can't seem to get it working right.

Thanks!

--Michael

26 Jan 2007, 4:25 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: Major Email Problem: some send, some don't

What are your settings in Admin> Configuration> Email Settings?

27 Jan 2007, 4:17 PM
#3
darinland avatar

darinland

New Zenner

Join Date:
Jan 2007
Posts:
15
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

Here are my settings (most are default):

Title Value Action
E-Mail Transport Method PHP
E-Mail Linefeeds LF
Use MIME HTML When Sending Emails true
Send E-Mails true
Verify E-Mail Addresses Through DNS false
Email Archiving Active? false
E-Mail Friendly-Errors false
Email Address (Displayed to Contact you) [email protected]
Email Address (sent FROM) [email protected]
Emails must send from known domain? No
Email Admin Format? HTML
Send Copy of Order Confirmation Emails To [email protected]
Send Copy of Create Account Emails To - Status 0
Send Copy of Create Account Emails To [email protected]
Send Copy of Tell a Friend Emails To - Status 0
Send Copy of Tell a Friend Emails To [email protected]
Send Copy of Customer GV Send Emails To - Status 0
Send Copy of Customer GV Send Emails To [email protected]
Send Copy of Admin GV Mail Emails To - Status 0
Send Copy of Customer Admin GV Mail Emails To [email protected]
Send Copy of Admin Discount Coupon Mail Emails To - Status 0
Send Copy of Customer Admin Discount Coupon Mail Emails To [email protected]
Send Copy of Admin Orders Status Emails To - Status 0
Send Copy of Admin Orders Status Emails To [email protected]
Send Notice of Pending Reviews Emails To - Status 0
Send Notice of Pending Reviews Emails To [email protected]
Set "Contact Us" Email Dropdown List Customer Service [email protected], Order Status [email protected], Returns [email protected]
Allow Guest To Tell A Friend true
Contact Us - Show Store Name and Address 1
Send Low Stock Emails 1
Send Low Stock Emails To [email protected]
Display "Newsletter Unsubscribe" Link? true
Audience-Select Count Display true
SMTP Email Account Mailbox YourEmailAccountNameHere
SMTP Email Account Password YourPasswordHere
SMTP Email Mail Host mail.EnterYourDomain.com
SMTP Email Mail Server Port 25
Convert currencies for Text emails £,£:€,€

Thanks!

--Michael

28 Jan 2007, 12:02 AM
#5
bjmania avatar

bjmania

New Zenner

Join Date:
Oct 2006
Posts:
6
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

hi
i have been having same problem and have checked your thread and it says i am black listed because of spaming?? i do not spam so why would i be on the list for?

28 Jan 2007, 4:47 PM
#6
darinland avatar

darinland

New Zenner

Join Date:
Jan 2007
Posts:
15
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

Thanks, Dr. Byte...

Before I get into making these changes, let me just make sure I understand:

Even if these settings were wrong, they would still allow all "Contact Us" emails to come through fine, as well as all Order Confirm and Order Status mails?

Thanks!

--Michael

28 Jan 2007, 6:26 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Major Email Problem: some send, some don't

Anything is possible.

Every hosting configuration is uniquely set up. There are patterns, but I'm sorry, there's no logical rhyme/reason for "some" being sent properly and some not.

20 Mar 2007, 11:47 PM
#8
sllik avatar

sllik

New Zenner

Join Date:
Dec 2006
Posts:
10
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

I have the exact same problem... My cart version is 1.3.6 with image-handler_2.0 and newsletter_subscribe installed. Has anyone found the solution?

21 Mar 2007, 6:03 PM
#9
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

With my 1.3.7 I am getting contact emails through ok -whatever the my email config is.

But like others, the newsletter or a manual email from admin won't go through, ever. I tried sendmail, sendmail-f, php

My host is advising me that they have an issue with scripts, if the script calls more than 2Mb (presumably of memory) the server kills the script.

Since the email function works 'behind the scenes', is there any way of getting it to tell me if it completes? I get the green line at top of my admin page after a manual email is sent..
'Notice: Email sent to: (me)@virgin.net (1)',

so can I get the email function to tell me how much memory it used, or more other useful info? I already have emails logged, so I know that part works.

In my case, the mail server always seems unhappy about what it gets told to do..

21 Mar 2007, 7:42 PM
#10
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

Hareslade,
2Meg sounds quite low to me. Default is normally 8meg, and for quite a few packages you have to set it to 16 at least.
You could try adding the following to .htaccess

php_value memory_limit [new memory limit]

where the memory limit is in bytes - so 4meg is 4096000 etc etc

If that causes a 500 server internal error, then no you can't change it.

You could also try a change to php.ini if you have a local php.ini for your site.
Add

ini_set ( "memory_limit", "8M");

or similar.

Or you can try a php.ini in your site base directory with

memory_limit = 4096000

Unfortunately, none of this will work if your hosting service has disabled.

Chuck

21 Mar 2007, 8:00 PM
#11
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

Hi chuck
no, its a shared server, so they don't like people increasing the memory!
htaccess gives them indigestion.. php ini's are innaccessible..

The hosts reply was referring to 'an issue' ... i.e something that they know happens, (but not why! :) a 2mb limit maybe on memory for the mail script section?... maybe its designed to stop sending of massive multi-mailshots?

The php memory is 8mb on my bit of the host, there must be a memory subsection for mail scripts... personally I think my host is out of their depth..

21 Mar 2007, 8:36 PM
#12
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

Odd, offhand I can't think of any easy way to do that from their side. A 2meg per email limit, or 2meg per mail batch limit?
Even so, a 2meg email is a fairly sizeable document. I have certainly had the spam filters clobbering mail as spam when sending out newsletters (including test mail to me on my own servers), and any Zencart mail misconfig can cause it to disappear off the face of the earth. The 7bit vs 8bit admin problem referred to in another thread can also cause this.
Only other suggestion I can make is to try SMTP direct to the mail server?

Chuck

21 Mar 2007, 9:34 PM
#13
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

Hi Chuck
Well I think the 2mb is a red herring, because the hosts mailserver gets the emails I send, it just rejects them.

I think the host doesn't know how to negate the 'relay' rejection of my domain as 'from'

I modified the mailer class and the email function files, they give a green header with info, on the 'admin send email' manual email send page.

On PHP and sendmail settings (and probably other transport settings) my debug version shows useful info including header, as sent to the mailserver by the zencart script.
http://www.hareslade.com/zc125/downloads/1_3_7emailer_debug_v1.zip

Useful for convincing oneself that its the hosts mailserver, not the zencart scripts!

21 Mar 2007, 10:28 PM
#14
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

You've reminded me that I must check what if anything the 'Send from known domain' does, as that might help matters.
the other thing I would suggest is that if you haven't implemented the fixes in the parallel thread on newsletter html problems, do so, as I found in my testing that my mail server was very fond of binning shop mail as spam if it was sent in 7bit mime, even if it came from a domain on the same server...
Setting it 8bit fixed that immediately, but ymmv.

Chuck

27 Nov 2007, 3:20 PM
#15
circlegtractors avatar

circlegtractors

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

Help some one,

We have recently transfered our cart over to a new server. We had problems previously with extra info emails getting stuck in the other hosting companies server. We transfered over, but I believe the script is still directing our confirmation email and extra info emails through that same hosting company server. Go Daddy has sent me information on how to change the script to point towards godaddy instead of the other company, but I cant find where it goes. Anyone have any idea where the file is that contains script that directs the email? We are currently not recieving emails, and there is no rhyme or reason to which we will recieve or not receive. Any help would be appreciated.

27 Nov 2007, 3:27 PM
#16
drbyte avatar

drbyte

Sensei

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

Re: Major Email Problem: some send, some don't

GoDaddy? Lucky you.

Anyway, what Email Transport method do you currently have selected?
Your email settings are all controlled in Admin->Configuration->Email Options

http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems

27 Nov 2007, 3:51 PM
#17
circlegtractors avatar

circlegtractors

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

E-Mail Options

Title Value Action
E-Mail Transport Method sendmail
E-Mail Linefeeds LF
Use MIME HTML When Sending Emails false
Send E-Mails true
Verify E-Mail Addresses Through DNS false
Email Archiving Active? false
E-Mail Friendly-Errors true
Email Address (Displayed to Contact you) [email protected]
Email Address (sent FROM) [email protected]
Emails must send from known domain? Yes
Email Admin Format? TEXT
Send Copy of Order Confirmation Emails To [email protected]
Send Copy of Create Account Emails To - Status 0
Send Copy of Create Account Emails To [email protected]
Send Copy of Tell a Friend Emails To - Status 0
Send Copy of Tell a Friend Emails To [email protected]
Send Copy of Customer GV Send Emails To - Status 0
Send Copy of Customer GV Send Emails To [email protected]
Send Copy of Admin GV Mail Emails To - Status 0
Send Copy of Customer Admin GV Mail Emails To [email protected]
Send Copy of Admin Discount Coupon Mail Emails To - Status 0
Send Copy of Customer Admin Discount Coupon Mail Emails To [email protected]
Send Copy of Admin Orders Status Emails To - Status 0
Send Copy of Admin Orders Status Emails To [email protected]
Send Notice of Pending Reviews Emails To - Status 0
Send Notice of Pending Reviews Emails To [email protected]
Set "Contact Us" Email Dropdown List
Allow Guest To Tell A Friend false
Contact Us - Show Store Name and Address 1
Send Low Stock Emails 0
Send Low Stock Emails To [email protected]
Display "Newsletter Unsubscribe" Link? false
Audience-Select Count Display false
SMTP Email Account Mailbox YourEmailAccountNameHere
SMTP Email Account Password YourPasswordHere
SMTP Email Mail Host mail.EnterYourDomain.com
SMTP Email Mail Server Port 25
Convert currencies for Text emails £,£:€,€

27 Nov 2007, 3:54 PM
#18
circlegtractors avatar

circlegtractors

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

Here is the article godaddy sent me. you can also find it at http://help.godaddy.com:80/article.php?article_id=510&
Im not sure where to put this information

Using the PHP Form-Mailer
Print this ArticleLast Updated: November 12, 2007 10:22 AM
To use the PHP form-mailer, create a Web form in HTML that links to our PHP script, located in the root directory of your hosting account, and upload it to your hosting account.

Remember to specify the email address you want to use with the form-mailer in your account manager. For more information, see Specifying an Email Address for the PHP Form-Mailer.

To Use the PHP Form-Mailer
Create your Web form as normal and assign unique names to your form items.
NOTE: Keep in mind that our form-mailer script will sort the names of your form items alphabetically when it composes the email message. This is the order of precedence: uppercase letters, lowercase letters, numbers.

For the form action line, enter gdform.php. For example:

<form action="gdform.php" method="post"> Set the form method to "post." In addition to the fields you create in your form, there are three special fields that you can use: subject, redirect, and email. Subject. Controls the subject line in the form email.

Redirect. Controls the page that your visitors will see after they submit the form.

Email. Controls the return address for the form email.

For example:

<form action="gdform.php" method="post"> <input type="hidden" name="subject" value="Form Submission" /> <input type="hidden" name="redirect" value="thankyou.html" /> <p>First Name:<input type="text" name="FirstName" /></p> <p>Last Name:<input type="text" name="LastName" /></p> <p>E-Mail:<input type="text" name="email" /></p> <p>Comments:<textarea name="comments" cols="40" rows="10"> Type comments here.</textarea></p> <input type="submit" name="submit" value="submit"/> </form> Save and upload your file to your hosting account.
27 Nov 2007, 5:17 PM
#19
drbyte avatar

drbyte

Sensei

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

Re: Major Email Problem: some send, some don't

Using a FormMailer is only needed if your site is all in .html pages.
Zen Cart already has a full email infrastructure for its communication, so you don't need the formmailer that GD suggested.

As the Email Troubleshooting FAQ mentions, try changing to "PHP" instead of "sendmail".

27 Nov 2007, 7:45 PM
#20
circlegtractors avatar

circlegtractors

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: Major Email Problem: some send, some don't

Im waiting now to see if the emails will come through. Just one question, is there a file somewhere that i would need to change the script on to point emails to Godaddy servers instead of previous company? Or does the email automatically get handled by whatever hosting company we are on, making the config-email options all there is to change?