VBcrlf not working in Outlook messages

Posted on 2005-04-29
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
    LVL 20

    Expert Comment

    Try Chr(13) + Chr(10)
    LVL 20

    Assisted Solution

    If its HTMl also try <BR>
    LVL 11

    Accepted Solution


    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

    LVL 11

    Expert Comment


    Author Comment

    Chr(13) + Chr(10) did not show any change

    <BR> throws error, but works as

      & "<BR>"
    LVL 20

    Expert Comment

    It has to be within quotes like

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

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
    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…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now