With the Send Email function, it seems that if you put valid html in as part of the body (%msg%), that portion does not get interpreted as part of the html as is seen as plain text. Just adding the variable seems to work, but it shows errors.
Also, how do you know what type of email (plain text/html) is going to be sent? There doesn't seem to be a selection for this.
- 4 replies
- LLiam @liam
Could you expand a little more on the issue please, I'm not quite understanding the problem?
What is the content of %msg%?
In terms of what type of email is sent, TA will send an email based on the parts you fill.
If you only fill in the HTML tab, then it will send just an HTML email.
If you only fill in the Message tab, it will only send a plain text email.
However, according to email standards, you should include both HTML and plain text parts in emails (so you should apply content to both the HTML and Message tabs), this is to allow maximum compatibility with all possible recipients of an email.
- SStephen Parker @stephenparker
Liam is correct on this - emails can contain plaintext and html portions - its then up to the recipients client software which one it renders.
If you use a field replacement for the HTML - then you can ignore the error.
On a side note. In TA5 if you use Markdown in the plain text - and dont alter the html part (or the html is blank), then TA will automatically create the HTML from the markdown.