Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Formatting a CDONTS e-mail

    using CDONTS to output an e-mail I can do stuff like this:

    strBody = strBody & "Something" & vbCrLf to insert a
    carraige return.

    How do I set Bold, Italic, etc.? Or a font? (the e-mail defaults to Courier, which is sufficient; I am just curious about changing a font). I DO want to be able to at least bold stuff.

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Formatting a CDONTS e-mail

    If your mail format is Plain text, there is no formatting.

    If your mail format is HTML (which I usually use when formatting is necessary), all standard HTML rules apply.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Formatting a CDONTS e-mail

    I don't want to output HTML as I want the text to be very copy-and-paste friendly. Oh well, just have to do with ALL CAPS

    thanks for replying!

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Formatting a CDONTS e-mail

    Some people use _underscore_ and *bold* but other people think that's annoying. I guess it depends on where it will be pasted... if it's going into Word, you could use HTML tags around the text and then a macro to remove those tags and replace them with native formatting.

Posting Permissions

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