Formatting Email Text

Results 1 to 2 of 2

Thread: Formatting Email Text

  1. #1
    Join Date
    Dec 1969

    Default Formatting Email Text

    I am currently using a "CDONTS" Object to deliver an email message based on user input. I would like to format the text of this message basicly as a table. I am currently matching everything up using <BR><BR>message=String1 & Space(Number-Len(CStr(String1))) & string2...<BR><BR>There has to be a better way to do this. Any pointers here would be helpful.

  2. #2
    Markkk Guest

    Default RE: Formatting Email Text

    Make sure that your email clients are using fixed width fonts!<BR><BR>I don&#039t know of a better way using a plain text email.<BR><BR>You could create an HTML email message with an HTML Table using MIME format. This of course would require that the client&#039s email software interpret MIME (HTML) type email messages. Many email software apps still only support plain text.<BR><BR>You can change your email message format by:<BR><BR>Set objMail = Server.CreateObject("CDONTS.NewMail")<BR><BR>objMa il.MailFormat = cdoMailFormatText (default value)<BR>objMail.MailFormat = cdoMailFormatMIME <BR><BR>Ref:<BR><BR>I hope thid helps!!

Posting Permissions

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