Email Body Syntax when using CDONT

Results 1 to 2 of 2

Thread: Email Body Syntax when using CDONT

  1. #1
    Angelico E. Cruz Guest

    Default Email Body Syntax when using CDONT

    Anybody knows the syntax of the text to be placed on the body of an email to be sent using CDONT? How could I send a neat looking email body using the CDONT object. . . .<BR><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    572

    Default RE: Email Body Syntax when using CDONT

    First of all body can be in the text format or in the HTML format.<BR>If you want your email body looks really cool use HTML format.<BR>You have to set:<BR> oMailMessage.MailFormat = cdoMailFormatMIME <BR>and<BR> oMailMessage.BodyFormat = cdoBodyFormatHTML<BR>In the body simply use HTML syntax, something like this:<BR>"&#060;p&#062;&#060;ul&#062;&#060;b&#062; " + username + " - you are cool!&#060;/b&#062;&#060;/ul&#062;&#060;/p&#062;"<BR>

Posting Permissions

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