Title: wpMandrill:mail
Last modified: August 30, 2016

---

# wpMandrill:mail

 *  Resolved [sam2de](https://wordpress.org/support/users/sam2de/)
 * (@sam2de)
 * [11 years ago](https://wordpress.org/support/topic/wpmandrillmail/)
 * I’m using wpMandrill:mail in my code but something is not clear, the second arguments
   takes the message subject as a string, but how could I send the message using
   this function but use the subject line that set for the mandrill template. when
   I created the templates on mandrill I had to fill out the subject line for that
   message, but it’s not used when I send out the message using this function. any
   advice?
 * [https://wordpress.org/plugins/wpmandrill/](https://wordpress.org/plugins/wpmandrill/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [sam2de](https://wordpress.org/support/users/sam2de/)
 * (@sam2de)
 * [11 years ago](https://wordpress.org/support/topic/wpmandrillmail/#post-6280873)
 * I figured it out, if you send the subject as an empty string, it will use the
   subject that used on the Mandrill template.

Viewing 1 replies (of 1 total)

The topic ‘wpMandrill:mail’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpmandrill_171717.svg)
 * [wpMandrill](https://wordpress.org/plugins/wpmandrill/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpmandrill/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpmandrill/)
 * [Active Topics](https://wordpress.org/support/plugin/wpmandrill/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpmandrill/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpmandrill/reviews/)

## Tags

 * [email](https://wordpress.org/support/topic-tag/email/)
 * [mandrill](https://wordpress.org/support/topic-tag/mandrill/)

 * 1 reply
 * 1 participant
 * Last reply from: [sam2de](https://wordpress.org/support/users/sam2de/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/wpmandrillmail/#post-6280873)
 * Status: resolved