new line character

Results 1 to 3 of 3

Thread: new line character

  1. #1
    Join Date
    Dec 1969

    Default new line character

    Hello: <BR>I am sending an email using asp script, and it works fine:<BR> Dim objCDO<BR> Set objCDO = Server.CreateObject("CDONTS.NewMail")<BR> objCDO.To=""<BR> objCDO.From= ""<BR> <BR> Dim txtSubject<BR> txtSubject = "This is the first ASP Email Test"<BR> objCDO.Subject = name<BR> objCDO.Body = txtSubject & "Want this on the next line"<BR> objCDO.Send<BR>But I do not know how to put two strings, in the body, on separate lines. I tried
    ...but that didn&#039t work.

  2. #2
    LeeAnnie Guest

    Default RE: new line character

    try vbCrlf<BR><BR>:o)

  3. #3
    Join Date
    Dec 1969

    Default Thank you LeeAnnie

    thanks alot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts