do i need an email template or can i just set the email_vars?

helgatheviking Jun 27, 2012 02:33PM EDT


i am having trouble setting the email subject, message and url. i get some kind of default values such as a "tell a friend" subject (maybe that's from the name of my page) and no message, plus the URL has a lot of characters at the end of it:

/#.T-tQ0Qp6ipE.email

<script type='text/javascript'>
/* <![CDATA[ */
var addthis_config = {"data_track_clickback":"true"};
var addthis_share = {"url":"http:\/\/www.birthinganewwe.com","title":null,"email_vars":{"subject":"Testing","message":"I just saw this.","url":"http:\/\/www.birthinganewwe.com"},"templates":{"twitter":"Check this out! http:\/\/www.birthinganewwe.com"}};
/* ]]> */
</script>

Up 0 Rated Down
Paul (AddThis Happiness Specialist) Jun 28, 2012 04:35PM EDT
To set the email note use the ui_email_note parameter in the addthis_config variable, like this:

var addthis_config = {"data_track_clickback":"true", ui_email_note:"I just saw this"};
var addthis_share = {"url":"http:\/\/www.birthinganewwe.com","title":null,"templates":{"twitter":"Check this out! http:\/\/www.birthinganewwe.com"}};

Unfortunately the subject can't be customized.

This question is closed to new answers.

Still need help?


General Topics

 

Developers