Click here to Skip to main content
16,020,673 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Currently sending emails which are effectively blocks of text generated in textboxs without any problems, but I wish to send in-line images.

I can do the later as a HTML body, however I need to get the textbox formatting correct in the HTML. I.e. I need to convert vbCRLF used in a textbox into blocks of HTML formatted text.
Posted
Updated 29-Mar-23 8:01am
Comments
[no name] 3-Apr-13 10:57am    
You could probably just use the HtmlEncode method.

1 solution

Replace vbLf and vbCrLf by
HTML
"<br />"


Hope this helps,
Pablo.
 
Share this answer
 

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