#1
  1. Web Developer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2001
    Location
    Pennsylvania
    Posts
    171
    Rep Power
    0

    Newline problems


    I am trying to send an email using CDONTS, and I am having troubles with newlines.

    There was a past thread a while back that said to use vbNewLine to insert a break in the message, but I still can't get it to work.

    I used vbNewLine, vbCrLf, chr(10) & chr(13) and my text still continues to flow right along.

    I want to keep it plain text rather than HTML

    Any other suggestions?
  2. #2
  3. No Profile Picture
    Overly white
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Fresno, CA
    Posts
    83
    Rep Power
    12
    I've never sent an email using ASP so I'm not sure of how it works exactly. But if you post your code I still might be able to help you out.
  4. #3
  5. Web Developer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2001
    Location
    Pennsylvania
    Posts
    171
    Rep Power
    0
    I found the problem, Outlook takes them away, and I had to go into the Outlook preferences and tell it not to remove "extra" line breaks automatically.

    Thanks anyway :-)

    And just for reference, I used vbNewLine

IMN logo majestic logo threadwatch logo seochat tools logo