By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,717 Members | 1,233 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,717 IT Pros & Developers. It's quick & easy.

Re: vbCr not showing in emailmessage

P: 1
Re: previous log "vbCr not showing in emailmessage"
Is there are difference between using:
... vbCrLf ..
and
Imports Microsoft.VisualBasic
..
... ControlChars.vbCrLf or ControlChars.NewLine

Refer to:
http://www.velocityreviews.com/forums/t86846-re-simple-question-about-vbcrlf-is-not-declared.html
As I am using the former it does not render a newline in outlook as said in article I mentioned above "vbCr not showing in emailmessage" on this site.

And I do not particularly want to change to:
Dim oMail As New System.Web.Message
oMail.BodyFormat = System.Web.Mail.MailFormat.Html
oMail.Body = message.Replace(vbCrLf, "<br />") as it will require a business decision to sign off.
Nov 17 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.