2

How can I see a log of emails that Drupal 7 has sent? It would be handy for things like troubleshooting registration issues... to see that registration emails are actually being sent.

2 Answers 2

6

Drupal doesn't keep hold of that information, so your server mail logs are the place to look.

Some email operations are recorded to the watchdog, but not all. You can get a look at a few of those ops with a simple query like this

SELECT * FROM watchdog WHERE message LIKE '%email%'

That'll get you false positives, but also should show you what operations are actually recorded (welcome message sent, new password sent, etc.).

For future reference, you can use either of these modules to log outgoing mail:

2
  • Beautiful. I'll give Maillog a try!
    – Sam
    Jan 21, 2014 at 14:20
  • 1
    UPDATE: MailLog is EXACTLY what I was looking for! Thanks again!
    – Sam
    Jan 22, 2014 at 2:23
0

There is also the mail_logger module

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.