{"id":1108,"date":"2024-11-13T19:06:09","date_gmt":"2024-11-13T20:06:09","guid":{"rendered":"http:\/\/doublebmonograms.com\/?p=1108"},"modified":"2024-11-14T00:35:35","modified_gmt":"2024-11-14T00:35:35","slug":"change-formatting-of-custom-property-in-email","status":"publish","type":"post","link":"http:\/\/doublebmonograms.com\/index.php\/2024\/11\/13\/change-formatting-of-custom-property-in-email\/","title":{"rendered":"Change formatting of custom property in email"},"content":{"rendered":"

I’m wondering if it is possible to change the custom property that’s input for deal follow-up emails. I am trying to use it to create an email address by using a salesperson’s name and adding ‘@mycompany’ at the end of the HTML insert for it. <\/P>

 <\/P>

It currently looks like this:<\/P>

<p>
{% for sales_rep in deal.sales_rep %}
{{ sales_rep }}@mycompany.com
{% endfor %}
<\/p><\/P>

 <\/P>

I am able to get the name to show up but it appears as ‘John Doe@mycompany.com’<\/a> instead of ‘JohnDoe@mycompany.com’ is there any way to fix this? <\/P>

 <\/P>

Could I possibly add a formatting conditional to an inserted token on the email to achieve the same result?<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

I’m wondering if it is possible to change the custom property that’s input for deal follow-up emails. I am trying<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/posts\/1108"}],"collection":[{"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/comments?post=1108"}],"version-history":[{"count":1,"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/posts\/1108\/revisions"}],"predecessor-version":[{"id":1109,"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/posts\/1108\/revisions\/1109"}],"wp:attachment":[{"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/media?parent=1108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/categories?post=1108"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/doublebmonograms.com\/index.php\/wp-json\/wp\/v2\/tags?post=1108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}