Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.7
Component:
Orders
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2009 at 19:25 UTC
Updated:
24 Apr 2012 at 19:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
tr commentedComment #2
tr commentedIs this still a problem for you? Changing to support request because this is almost certainly a configuration problem on your end - I'm not seeing any other reports of people having this same problem.
Comment #3
blueblade commentedi have the same problem...did you get it fixed?
Comment #4
tr commentedAgain, I cannot reproduce this - it works properly as described with Ubercart 6.x-2.2. It is almost certainly your configuration - you don't have a store e-mail set, for instance, or the mail is being stopped by a spam filter due to your mailer configuration. If you want help in debugging this I suggest first search through the forums at ubercart.org then if you still can't find anything posting a question on ubercart.org with lots of details of what you've set up, how you've set it up, what you're doing that causes the error and why you think there's a code error here (Does it work correctly in other places? Are account registration e-mails being sent? Order confirmation e-mails? etc.).
Comment #5
blueblade commentedHi TR,
Not sure if this helps, I get error message that says:Error sending e-mail (from email@mysite.com to ) It looks like I have the email address for the store but Ubercart cant get the user's email address. I do see a link that takes the user to their account page to change or update their email address on the checkout page tho...weird...
Comment #6
md2 commentedI've currently got the same problem. Whats worse is that the store was working as it should until mid weekend and then just stopped sending notification emails. Only change that was made was a few more country imports via Store configuration buts that it. Any one got any ideas?
Comment #7
md2 commentedManaged to fix my problem. Try the following:-
Cheers,
Mark
Comment #8
blueblade commentedHi md2,
Thanks for the info. Where do you Change the store email address from using an email alias to a 'proper' email tho? Thanks again.
BB
Comment #9
md2 commentedHi blueblade,
Sorry I should have been more clear, checking that you are not using an alias as your main email address can't been done in the drupal/ubercart backend,its done via your hosting / email package.
email alias via wiki -> http://en.wikipedia.org/wiki/E-mail_alias
The setting in drupal/ubercart where you set your store email address can be found at /admin/store/settings/store/edit , if thats the information your after.
Kind Regards,
Mark
Comment #10
blueblade commentedThanks Mark,
/admin/store/settings/store/edit is the page I was looking for =) Thank you for your help. Have a great day!
BB
Comment #11
tr commentedMy reading of this thread indicates that the outstanding issues have been addressed, so I'm marking it as fixed.
Comment #13
nitebreedReopening this issue.
Having the exact same problem, even though my store configuration is ok (not an alias email, no store name in emails)
Don't get any error messages and in the order It seems as like the messages are sent, but they aren't. I also don't see anything in my log.
Comment #14
sean-gnu commentedPatch for uc_order
I'm not sure where to put patches - here on drupal.org, on ubercart.org or where. So i've just created forum posts on ubercart in the mean time to keep my patches together. Also commenting in drupal.org I don't get an option to subscribe to a node - so i have no idea how to track responses automatically.
Patch available at uc_order patch
Comment #15
tr commented@Nitebreed. Your issue is clearly not the same as the original poster's, even though you may share some symptoms. But like the original post, your problem is probably also a configuration problem, even though you both say you configured everything correctly. I'm closing this issue again - if you think you have found a bug then open a new issue and provide a complete description of how to reproduce the error. I suggest searching through the forums at ubercart.org first to find common configuration problems that have this symptom.
@sean-gnu: Bugs and patches belong here in the issue queue. If it's not here in the queue, it will not be considered.
Comment #16
sean-gnu commentedHi - here is the patch and comments ....
I had problems with uc_order module sending emails for order invoices. The problem occurred in checkout/client invoice emails and update status emails where drupal give the error "Unable to send e-mail. Please contact the site administrator if the problem persists".
Bugs / issues addressed :
Conditional Actions for uc_order :
When it is required to alter the action for the email invoice to customer, the "From" field suddenly becomes compulsory. The patch allows blanks in which case it will then default to the store-email.
Tokens Problem
When trying to set tokens to use in the from fields - like "[store-name]" <[store-email]>, it didn't work. The code seemed to want to allow tokens to be used, yet when it came to the drupal_mail function, the token replacements are ignored completely. This has been fixed in the patch.
Recipients
The recipient list does no validation and for some reason the text-area keeps wrapping <p> tags around the whole recipient list. This I experienced even when no wysiwyg editor is enabled for the field input. I've added in this patch a simple removal of html tags, as well as trimming out blank lines so emails don't get sent to an empty recipient ! This now sorts out the drupal error "Unable to send e-mail. Please contact the site administrator if the problem persists".
If database logging is enabled - it will add an entry now for "successful" emails as well. This, for invoice emails, should be important to track.
Comment #17
bmacc commentedI have applied the patch posted by sean-gru but it seems that the trigger E-mail requested for order status update' is not working/triggering.
Comment #18
asb commentedsub
Comment #19
muschpusch commentedI can confirm that this bug is still in 2.7. The patch is working but needs to be ported to 2.x dev
Comment #20
longwaveVarious fixes for this were committed in #455888: Unable to send e-mail. Please contact the site administrator if the problem persists., most reports in this issue are very old.
If you are experiencing this problem please open a new issue with full details rather than reopening this one.