Body of Outlook Email


#1

I want to send and email with a variable I stored. But I have this error…
image

pls help…


#2

If you want your message split into multiple lines, then use ‘Environment.NewLine’ for each new line. Also, it should be Name.ToString and not Name.ToString()

Like this,
“Hi,” +Environement.NewLine+
Please enter the remaining details for the project: " +empName.ToString

Thanks,
Rammohan B.