I had some trouble recently trying to see if an email that was supposed to be sent was actually sent out from the ubercart system, because there is no log of sent emails. Is it possible to have ubercart write a log entry to the watchdog table every time an email is sent, for troubleshooting purposes. If nothing else, this could be a checkbox somewhere (maybe in the conditional actions section?).

It turns out the email *was* sent, it was just stuck in a spam folder. But it would've saved me about 20 minutes of time troubleshooting the issue because the customer could've sworn our system didn't send him an email! (Crazy users ;-).

Comments

rszrama’s picture

Status: Active » Postponed

Definitely a worthwhile feature. Postponing it for consideration in the UC 3.x development cycle.

geerlingguy’s picture

Thanks! Sounds good to me. 2.x is still in beta, so hopefully it won't be too long ;-)

rszrama’s picture

2.x actually just reached a second release candidate, so it's closer than you think.

tr’s picture

Version: 6.x-2.0-rc1 » 7.x-3.x-dev
Status: Postponed » Active
geerlingguy’s picture

If we start using Rules for Drupal Commerce, then this would be a simple/no-brainer option - just add this action to a rule. :-)

tr’s picture

@geerlingguy: Ubercart 3.x *does* use Rules. And Drupal Commerce is a different module, so what DC does isn't relevant to this issue. Regardless, since it's Drupal doing the e-mail sending, I suspect the solution is outside of Ubercart. I'm reopening this issue simply because Ryan said it would be re-visited for Ubercart 3.x.

geerlingguy’s picture

Ah... I didn't realize UC would be separate from DC.

longwave’s picture

Status: Active » Closed (won't fix)

Use http://drupal.org/project/maillog or http://drupal.org/project/mail_logger to do this in D6, or adjust your CA or Rules as appropriate.