Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
XPORTERCLOUD 2021 Sprint 2, XPORTERCLOUD 2021 Sprint 3
-
Description
Title: Post function "Send Email" doesn't work properly when you use mappings and HTML in the body of the email
Short Description: If you create a post-function with the action "Send Email" and in the body, you use HTML and mappings, the HTML is not being resolved correctly when you receive the email in your email account
Test steps to reproduce:
1.Create a post function with the action "Send email" and in the body use the following code:
<p>Bonjour ${Prénom},</p> <p>Tu trouveras en pièce jointe l'attestation de déplacement.</p> <p>Bonne journée.</p> <p>Syndex-Jira</p> <p><span style="background-color:#ffffff; color:#333333; font-family:Arial; font-size:13.3333px">________________________</span> <br /> <br /> <br /> <span style="font-size:12px"><em>Ce message se génère automatiquement, merci de ne pas y répondre en utilisant la fonction "répondre à l'expéditeur" de votre outil de messagerie.</em></span><br /> </p>
2. Execute post-function
Actual Result: When you receive the email, the HTML used in the post-function is not being resolved correctly.
Note: if you remove the mapping from the body, the HTML is being resolved correctly
Expected Result: HTML must be resolved correctly even if the user uses mappings in the body of the email. Example of the expected result: