Re: Question on system.mail.net and formatting mail body



Dave,

That it is formatted via a Cobol app says absolute nothing.

You have to be more precise.

Cor

"Scooby Dog" <duckkiller53@xxxxxxxxxxx> wrote in message news:7EC94292-D3F3-458A-A082-35D7DE4E684E@xxxxxxxxxxxxxxxx
Could someone help:

I am working on a small vb.net app that will read a text file line by line ( it's actuall a text file that has been formatted via a Cobol app ) and then build a stringbuilder object via .append. My problem is when I do mail.body = str.Tostring the formatting is all screwed up. I have tested just pasting the text into an outlook email and changing the font of the text to Curriour New and it aligns and send/looks great. Is there a way to do that in code other then spending hours formatting the text using html.


Thanks


Dave.

.



Relevant Pages


Quantcast