Results 1 to 3 of 3

Thread: CDONTS.NewMail

  1. #1
    Join Date
    Dec 1969

    Default CDONTS.NewMail

    When using CDONTS.NewMail how can I force it to begin typing more text on a new line in the body. For example, I have several variables I want to list in the body of the email but have each one start on a new line.<BR><BR>I can set the body for the email with no problems Im just not sure how to format the body of the text properly.<BR><BR>Any help you can give me is appreciated.<BR><BR>Thanks in advance

  2. #2
    Join Date
    Dec 1969

    Default VBCRLF

    you need to add vbcrlf to the end of each line.

  3. #3
    Join Date
    Dec 1969

    Default RE: CDONTS.NewMail

    sBody = "The dog ate." & vbCRLF & _<BR> "The Bill H is a monkey." & vbCRLF & _<BR> "A very ""special"" monkey." & vbCRLF<BR><BR>vbCRLF is a Carraige Return/Line Feed combination. In a plain text e-mail, it&#039;ll break the lines for you.<BR><BR>-Doug

Posting Permissions

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