Email text in new line

outlook
studio

#1

Hi,

I am trying to send an email , while writing a body I am not able to enter new line.
Please help!

Thanks,
Anjali


#2

Hi,

Please use Environment.NewLine code, it’ll take your statement in next line,

for instance, i have below sentence,
Automation excellence requires a tool that can model all the organization’s business processes,

And if we write that code as below,
Automation excellence requires a tool +Environment.NewLine+ that can model all the organization’s business processes,

Output will look like,
Automation excellence requires a tool
that can model all the organization’s business processes


#3

I used
and it’s working fine.

Regards,
Anjali


#4

That did not work for me, I used vbnewline

"This is a " & vbnewline & “test” will show:

This is a
test


#5

Hi,

This code does not works when the IsbodyHTML flag is set to True.


#6

Use br/ tag for new line in HTML body.


#7

Hey,

you can also use “+vbCrLf+” in order to enter new line. Here is a pratical example:

“Hello,”+vbCrLf+vbCrLf+
“Let’s automate the world!” +vbCrLf+
“Greets”

This will produce:

Hello,

Let’s automate the world!
Greets


#8

Hey @harjyot123
Did you find how to make it work when the IsbodyHTML flag is set to True?