Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

As the title mention, How to get e new line in html email ??
i using the vbNewLine and vbCrlF in the program, both also didnt work.
my code is using HTMLbody = true.

the result for the vbnewline and vbcrlf is "=0D=0A=0D=0A" hexadecimal.
what should i do for this?
Posted

1 solution

Don't use newlines - if you are using HTML as the body, use <br /> instead.
HTML ignores line breaks, and multiple whitespace.
 
Share this answer
 
Comments
jonaschu 8-Dec-11 4:34am    
Bro, It works.
i try the <br> before, but it look like don't work...
i think maybe i didnt check properly..

Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900