18 replies [Last post]
i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Was this information Helpful?

Hey guys,
I'm using Ubercart as my Drupal store. Even though this may sound cliche, all of a sudden, order notification emails stopped going out! I didn't make any changes, and no one else made changes.

I searched online and found some references. I tried a a couple of suggestions (creating a duplicate Duplicate Action etc) but nothing is working.

Drupal emails in general are working (new user notification etc).

Where do I start to investigate this one?

i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Re: Problem with notification emails

Any suggestions guys?

i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Re: Problem with notification emails

Update: I upgraded the core to Drupal 6.18, but the problem still exists.

i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Hey guys, Please help! I

Hey guys,
Please help! I don't mean to sound panicky, but I'm now desperate!

i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Re: Hey guys, Please help! I

Has anyone experienced anything similar or have any suggestions of where to look?

kpdirection's picture
Offline
Joined: 08/17/2009
Juice: 112
Re: Problem with notification emails

Is it the Admin notifications or the Customer notifications that aren't going out? They're two different Conditional Actions.

If one is working but not the other, you can play 'spot the difference'. If neither are working, it's a little trickier to spot.

1. Try resetting the Conditional Action (make a note of the settings first). If it works, then your CA changes broke it.

2. Check the Drupal Log. If you see a message such as "Error sending e-mail (from "My Site Admin" to buyer@clientsite.com)", then it's an FCK (or other editor) issue. Add

admin/store/ca/uc_checkout_customer_notification/edit/actions.edit-actions-0-settings-addresses
admin/store/ca/uc_checkout_admin_notification/edit/actions.edit-actions-0-settings-addresses

to the appropriate FCKEditor profile (mine is at /admin/settings/fckeditor/edit/Advanced). The wysiwyg editor is adding the to the email address, causing the send to fail.

3. You say that all other emails are working, so it's unlikely to be an issue with php mail(). Check the 'From' email address; depending on your mail server setup, it needs to be a valid email address. Try dropping in a test email address that you *know* is good - such as your own.

Try those, and come back with some results.

Regards,

Pete.

KP Direction LLC
Utah-based White-label Drupal development
www.kpdirection.com

i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Re: Re: Problem with notification emails

Thanks! I'll give these a shot... please stay tuned for the results. Thanks.

i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Re: Re: Problem with notification emails

Ok, so here are some answers and results:

-The Admin notifications are the ones that aren't going out.

-I've tried duplicating the CA, and the duplicated one doesn't work either.

-I don't see any error messages relating to emails in the error logs.

-I checked the "From" address in the CA, and it contained (not the real address): "Display Name" . I tried removing the display name and just putting "emailaddress@yahoo.com" but this did not make any difference.

Where do we go from here?

kpdirection's picture
Offline
Joined: 08/17/2009
Juice: 112
Re: Re: Re: Problem with notification emails

Also, my 'From:' address is in the format

"Admin at My Test Domain" <info@mytestdomain.org>

Perhaps try that format? But a standard email address should also work.

KP Direction LLC
Utah-based White-label Drupal development
www.kpdirection.com

kpdirection's picture
Offline
Joined: 08/17/2009
Juice: 112
Re: Problem with notification emails

We need to know, then, firstly if the Condition Action is working (you DID press the 'reset' option on that Conditional Action, didn't you?

To check a conditional action is being fired, go to /admin/store/ca/uc_checkout_admin_notification/edit/actions, and add an action 'Add a comment to the order'. Make this an Admin comment, and put something like 'Order Admin Email Sent out'.

Process a test order, and then check that order at /admin/store/orders/view. View the order, and see if your admin comment is listed with the other admin comments. If it is, great - we can look elsewhere. If it isn't, then the Conditional Action hasn't been fired; again I'd check that you'd pressed the 'reset' button, which reverts that action back to its initial settings.

SSH into your web server, and check your mail log (depends on which version of Linux, but start at /etc/maillog). Look for any error messages; if there are any, you'll need to play with your mail settings at the server level (exactly what to do would depend on the error message).

Also (and this has caught me out just recently), check the admin persons email package, (Outlook, for example), in case there are any mail handling rules which accept these admin emails but then either delete them or mark them as read and hide them.

HTH

Pete.

KP Direction LLC
Utah-based White-label Drupal development
www.kpdirection.com

kpdirection's picture
Offline
Joined: 08/17/2009
Juice: 112
Re: Re: Problem with notification emails

If you haven't already seen it, have a look at post http://www.ubercart.org/forum/support/20995/ubercart_not_sending_order_c... also - the poster there found that it was their host - GoDaddy in that case - who had implemented some new security measures. Might be worth checking your host out for something similar?

Pete.

KP Direction LLC
Utah-based White-label Drupal development
www.kpdirection.com

bmacc's picture
Offline
Joined: 03/04/2011
Juice: 3
Re: Re: Re: Problem with notification emails

I have the same issue, I tried all the above suggestions and still no E-mail admin checkout notifications sent out.

I am running Ubercart 2.4 on Drupal 6.20 core.

Any additional help would be appreciated.

i25
i25's picture
Offline
Joined: 01/19/2010
Juice: 245
Re: Re: Problem with notification emails

Ok, now this is getting weird. Now I'm receiving emails from the cart, but I'm receiving duplicate emails for some orders, and no emails for other orders! Does this make any sense?

royerd's picture
Offline
Joined: 01/22/2008
Juice: 293
Re: Re: Re: Problem with notification emails

Duplicate issues are sometimes, in my experience, a matter of the trigger being "update order" and the whole checkout process involves updates to "pending" and also to "completed" for example.

tinhoang's picture
Offline
Joined: 05/26/2010
Juice: 39
No admin notifications for me either

Something happened after Feb 11, 2011. That was the last admin notification email i got that a sales was completed.

The only module i updated after that date was the WSISWYG module on Feb 23.

eyeq's picture
Offline
Joined: 04/20/2011
Juice: 8
Ubercart not sending order emails

Providing your conditional actions are set correctly, in the actions tab make sure you have either the input format below the ca recipients field set to plain text or exclude the form element in the wysiwyg editor

i.e. CKEditor: the ID for excluding or including this element is admin/store/ca/5/edit/actions.edit-actions-0-settings-addresses.

Hope this helps

grundum's picture
Offline
Joined: 04/02/2011
Juice: 16
This helped me (a lot!)

Thanks for this suggestion -I'm always checking that ckeditor won't mess with important fields but this time I totally passed over it.
Now my two CA messages (admin and customer) are going out perfectly

OT: -it's still night in the morning, without sleep and with a presentation in a couple of hours on this site /// this totally saved me on the edge - huge thanks!!

make-online-shop's picture
Offline
Joined: 01/01/2011
Juice: 217
Order notification on Ubercart shop ? Problem.

Hi,

Same problem with my shop, i suddenly don't get order notification anymore, do you have any idea ?

I am on D6 Latest Ubercart and Drupal site is still sending usual Email notifications.

But I also get this error from uc_paypal :

IPN failed with HTTP error Connection timed out, code -110.

I receive Paypal notification but no Ubercart notification.

Thanks for help.

eyeq's picture
Offline
Joined: 04/20/2011
Juice: 8
ipn_failed_with_http_error_paypal