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.

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:

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

There is also the mail_logger module

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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