Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2008 at 23:01 UTC
Updated:
7 Sep 2009 at 09:27 UTC
When I submit an order, I get this message: "Unable to send e-mail. Please contact the site admin, if the problem persists.". I'm using the latest CVS version as of today.
uc_order_action_email_invoice() seems to get called twice. The first time $settings['addresses'] is an empty string, the second time it contains the correct value.
I'm pretty sure this is not a dupe of #330351: New user email not sent.
Comments
Comment #1
rszrama commentedHmm... this error message is coming from drupal_mail() itself. Are there any indicators in the watchdog regarding what my be wrong? How about your Apache error log?
Comment #2
grendzy commentedHere's the message from watchdog.
Comment #3
grendzy commentedAh, my mistake, sorry. The problem was the store email was not set under /admin/store/settings/store/edit/contact.
I wonder, could a warning be given in the status area on admin/store? Or perhaps it could default to
variable_get('site_mail', ini_get('sendmail_from')), which I see used in other parts of ubercart.Comment #4
rszrama commentedI've updated the associated functions to use uc_store_email_from() and will do some further testing on the Livetest w/ a store e-mail address not set.
Comment #6
mikejoconnor commentedDuplicate of #455888: Unable to send e-mail. Please contact the site administrator if the problem persists.