Hi Experts,
I have the below code in the body of an email (OnSuccess of a form), 1st Approver Comments and 2nd Approver Comments are a multiline text box that currently comes through in the email in one line rather than in paragraphs as the user has filled it out, I believe I need to use CHAR 10 or CHAR 13 for this but can you advise where I need to add that in please?
<b>1st Stage Comments: </b>" & EditForm_1.LastSubmit.'1st Approver Comments'&"<br>
<b>2nd Stage Comments: </b>" & EditForm_1.LastSubmit.'2nd Approver Comments'&"<br><br>
Thanks in advance
That is not really evident from your initial post, but glad you solved it
Hi,
I've worked this out using the below code if anyone else has this issue in future
<b>1st Stage Comments: </b>" & Substitute(EditForm_1.LastSubmit.'1st Approver Comments', Char(10), "<br>") &"<br>
<b>2nd Stage Comments: </b>" & Substitute(EditForm_1.LastSubmit.'2nd Approver Comments', Char(10), "<br>") &"<br><br>
Hi @WarrenBelz ,
Yes, that's what i'm using but it's putting all the text on one line e.g. test description of change line 3 and it should be:
test description of change
line 3
Regards
Hi @Dave-ITMan ,
If you use Office365Outlook.SendEmailV2, you code will resolve as you expect.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional