"Send email" action not working to send email to poster of comment I have successfully set up email notifications on my client's blog for administrators when new comments are posted and am now trying to set it up to send a thank-you email to the poster of the comment as well. I set it up using triggers and actions as described here.

I put in [comment:author:mail] in the "Recipient" field on the action configuration form as suggested in the note right below that field, but it seems that it never sends the email. I initially tested it using my own email address and it worked fine, then I posted a comment as an anonymous user using two different email addresses of mine but never received an email. Why is [comment:author:mail] not working? I'm using other variables in the body of the email (e.g. [comment:node:title]) and they're working fine.

I tried using Maillog as @tenken suggested below, which verified that the problem isn't with mail delivery but rather with the email not being populated correctly:

Here's a screenshot that shows the email to the administrator is working correctly, but not the thank-you email:
This question can be very hard to answer -- email is tricky as PHP just hands off your email to the underlying/remote mail system. I suspect nobody can tell you exactly what's wrong without in-depth examination of your setup.

But, the Mail Developer module will allow you to "try" to send and log raw emails without actually sending them, you can likely look for differences between mails that do send -- and the emails you think are not sending correctly.


  Maillog provides an easy possibility to log all Mails for debugging
  purposes. It's possible to prevent the mails to being sent, so there
  is no need for an extra mail server to test the mail functionality of
  other modules or the drupal core. Additionally you can immediately
  display the mail through the devel dpm() facility.
  
  If you like to upgrade from a previous dev release, please disable,
  uninstall and reinstall again. There's no upgrade procedure yet.


Also see the similar modules on the project page -- for additional tools to debug and resolve your problem.