Title: Add additional header?
Last modified: August 22, 2016

---

# Add additional header?

 *  Resolved [iparker](https://wordpress.org/support/users/iparker/)
 * (@iparker)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/add-additional-header-1/)
 * Hello,
 * is there a possibility to add an additional smtp x header to the mails?
 * I want to send the mails via mandrill and with the addtional header I could assign
   the mails to a mandrill subaccount.
 * Thanks for some help!
 * Best regards,
 * Timo
 * [https://wordpress.org/plugins/wp-mail-bank/](https://wordpress.org/plugins/wp-mail-bank/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * (@contact-banker)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/add-additional-header-1/#post-5911808)
 * Hi,
 * Thank you for contacting us!
 * Can you please provide us any example syntax of this?
 * Thanks & Regards
 * **Support Team
    Tech Banker
 *  Thread Starter [iparker](https://wordpress.org/support/users/iparker/)
 * (@iparker)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/add-additional-header-1/#post-5911930)
 * Hello,
 * thanks for your reply.
 * An example for the syntax is in the docu from mandrill:
 * [http://help.mandrill.com/entries/21688056-Using-SMTP-Headers-to-customize-your-messages](http://help.mandrill.com/entries/21688056-Using-SMTP-Headers-to-customize-your-messages)
 * For example:
 * $message = Swift_Message::newInstance();
    $headers = $message->getHeaders(); 
   $headers->addTextHeader(‘X-MC-Track’, ‘opens, clicks_htmlonly’); $headers->addTextHeader(‘
   X-MC-GoogleAnalytics’, ‘yourdomain.com’);
 * It’s just adding additional strings to the header. In my case I need a “X-MC-
   Subaccount” and in best case also an “X-MC-Track”.
 * Best regards,
 * Timo

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Add additional header?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mail-bank_724f4f.svg)
 * [Mail Bank - #1 Mail SMTP Plugin for WordPress](https://wordpress.org/plugins/wp-mail-bank/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-bank/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-bank/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-bank/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-bank/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-bank/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [iparker](https://wordpress.org/support/users/iparker/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/add-additional-header-1/#post-5911930)
 * Status: resolved