Email body formatting

Dears,

How to format the email body as follows :

Hello,
<<space.>>
This is Test email to ask for the way to format email body.
<<space.>>
<<space.>>
Best Regards.

Note : I tried with
, Environment.NewLine, and HTML format and didn’t help

2 Likes

@hsendel

Hi, I would use HTML based body like:

<body>
<font face = "Segoe UI Light" size = "3">
<font table = "Segoe UI Light" size = "3">
Hello,
</br>
This is Test email to ask for the way to format email body.
</br>
</br>
Best Regards.
</font>
</font>
</body>

You can save it as a string value.

1 Like

Hi @hsendel
Either you can do it using HTMl Break or You can Use System.Environment.NewLine to go to the next-line.

2 Likes

Thanks rado,
It’s not working :crying_cat_face:
Please check my code.ThxFormattingBodyEmail_rado.zip (1.4 KB)

Thanks jitendra_123,
I used your methode I got all test in one line only[FormattingBodyEmail_jitendra_123.xaml|attachment]FormattingBodyEmail_jitendra_123.xaml (5.2 KB)

@hsendel you need to check the function isbodyHtml in properties. but try to simple write it with the spaces, the new version understand simple formatting.

1 Like

Thanks Artur_Bueno,
This option is already there :
image

here you go with a sample xaml
it worked for me
mailbody.zip (9.3 KB)

Cheers @hsendel

3 Likes

YES, Working for me too :slight_smile:

1 Like

What is different from what you were doing?

There is no : " System " word in the command : System.Environment.NewLine
Anyway thanks for all of you too guys, I appreciate your prompt support

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.