Title: Sharing Customization Email Template BUG
Last modified: April 3, 2018

---

# Sharing Customization Email Template BUG

 *  Resolved [mroesger](https://wordpress.org/support/users/mroesger/)
 * (@mroesger)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/sharing-customization-email-template-bug/)
 * found this bug for customizing email subject and body with javascript.
 *     ```
       a2a_config.templates.email = {
           subject: "My New Subject",
           body: "My New Body"
       };
       ```
   
 * The new subject and body will work when selecting the `a2a_button_yahoo_mail`
   
   The new subject does not work on `a2a_button_google_gmail` but the body does.
 * My default email is gmail and if I select `a2a_button_email` the new subject 
   and body DOES show up on gmail.
 * You can test it by running the JS code above in the dev console on the addd to
   any example page here: [https://www.addtoany.com/buttons/customize/email_template](https://www.addtoany.com/buttons/customize/email_template)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsharing-customization-email-template-bug%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [micropat](https://wordpress.org/support/users/micropat/)
 * (@micropat)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/sharing-customization-email-template-bug/#post-10144488)
 * Confirmed, thanks for reporting.
 * Gmail uses an `su` parameter instead of `subject`, so the general email template
   wasn’t applying to the Gmail button directly. That is fixed now.
 * Thanks again.

Viewing 1 replies (of 1 total)

The topic ‘Sharing Customization Email Template BUG’ is closed to new replies.

 * ![](https://ps.w.org/add-to-any/assets/icon.svg?rev=972738)
 * [AddToAny Share Buttons](https://wordpress.org/plugins/add-to-any/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-to-any/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-to-any/)
 * [Active Topics](https://wordpress.org/support/plugin/add-to-any/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-to-any/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-to-any/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [micropat](https://wordpress.org/support/users/micropat/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/sharing-customization-email-template-bug/#post-10144488)
 * Status: resolved