Won't Recognize vbCrLf

Discussion in 'ASP.NET 2.0' started by wengert, Sep 8, 2005.

  1. I am building a string to be used as the body of an email message. I include some vbCrLf constants but when the email is received they appear as blanks (Chr(20)). How can I insert CrLF for an email message?

    ------------
    Wayne
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Thanks for the response. It must be some setting in my email client? I replaced vbCrLF with the HTML "" and that works fine.


    ------------
    Wayne
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    ah.. ic

    Your email is probably formatted at text/html. In HTML, Linefeed is simply ignored.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. Bruce;


    Thanks for the response. I hadn't thought of that. I am sending as HTML.


    Always another pitfall and I manage to step in most of them <smile!>


    ------------
    Wayne
     

Share This Page