Replace comment notification email with Mandrill template

mariusvetrici Snippets Leave a Comment

Have you ever needed to replace the default email that WordPress is sending whenever a new comment is added? Recently I did.

Here’s how I did it:

To get this going you have to:

1) Install and configure WPMandrill plugin

2) Create a new template in your Mandrill account
3) Paste the php code in your functions.php file

Let me know if it worked for you.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.