You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update get_request_body to address reply to, from overrides
* Update get_request_body to address reply to, from overrides
* Fixes#33
* Modifies payload to only include releveant bits depending on whether
user has a template vs. inline content
* Adds from and reply_to sub data when using a template
* Add from_localpart to sub data for stored templates
* Update template help to link to WordPress article
<li>- Please see <a href="https://support.sparkpost.com/customer/portal/articles/2409547-using-templates-with-the-sparkpost-wordpress-plugin">this article</a> for detailed information about using templates with this plugin.</li>
237
238
<li>- Templates can only be used with the HTTP API.</li>
238
239
<li>- Leave this field blank to disable use of a template.</li>
239
-
<li>- The template must have a variable in it named <code>{{{content}}}</code>. Note the triple curly braces, which are required to include non-escaped HTML.</li>
240
-
<li>- Use <code>{{subject}}</code> and <code>{{from_name}}</code> in your template to allow substitution of Subject and From Name respectively.</li>
241
-
<li>- From email override has no effect when using a template.</li>
0 commit comments