VBcrlf not working in Outlook messages

Posted on 2005-04-29
Medium Priority
Last Modified: 2011-08-18
Have an ASP page that captures changes to users profiles.
These changes are e-mailed (SendMailCSO) for review.
Reviewer would like each change on a seperate line.  
I use vbcrlf to do this.  It must work as if I do a view source on the message (in Outlook) each change is on its own line. However, viewing in Outlook, the vbcrlf's are ignored.
Any way to have lines break so that Outlook sees these changes?

My apologies if this is the wrong area for the question, but I thought ASP experts may have run into this issue, based on other posts regarding vbcrlf.

Thank you,

Question by:joekus
  • 3
  • 2
LVL 20

Expert Comment

ID: 13896403
Try Chr(13) + Chr(10)
LVL 20

Assisted Solution

jitganguly earned 1600 total points
ID: 13896406
If its HTMl also try <BR>
LVL 11

Accepted Solution

ajaikumarr earned 400 total points
ID: 13896510

If you are sending the mail as Text you can use VBCRLF or you have to use </BR> tag.

You might have specified something like this.
MailObject.BodyFormat = 0   'For HTML Mail
MailObject.BodyFormat = 1   'For Text Mail

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 13896550
Chr(13) + Chr(10) did not show any change

<BR> throws error, but works as

  & "<BR>"
LVL 20

Expert Comment

ID: 13896567
It has to be within quotes like

Respons.Write "Hello "  &  "<BR>"

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month16 days, 20 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question