I am using the sendgrid plug in to send emails and have created substitution tags to hold the email body and signature
I am using the RichtextInput Legacy to receive the data and pass it to Sendgrid but when the email is received, everything is in one line and not formatted as per the editor.
Hey! I actually had some troubles with this before but @copilot helped me resolve it. Can you send me a screenshot of your transactional email template on Sendgrid to see if you had the same exact problem I had? You might have to even use regex because the Sendgrid templates are HTML, and I believe the Rich Text Inputs are BB Code
Ah, yes, you are having the same I had previously. For your substitution tags, try to use 3 curly braces on each side of the variable, for example, {{{emailbody}}} and {{{signature}}}.
Thanks Johnny,
that did not seem to work. I tried what you suggested using but the RT input and the Multiline input and I have also tried using the drag and drop template and the code template on the sendgrid side and each time, all the contents or the email are in one line.
Any other thoughts?
Thanks
Frank
Thanks Johnny,
I am reading through the docs now and trying to understand what CoPilot is talking about in terms of escaping and using find and replace - I am hoping the solution is not that complicated.
I will give it a go with a legacy template and come back with my findings.
Thank you for your help!