Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Sending Formatted text through MAPI

Sending Formatted text through MAPI

Scheduled Pinned Locked Moved Article Writing
helphtmlquestion
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi All, In my app I need to send e-mail directly. I use Simle MAPI for that and it works fine. The problem is that want to send formatted text. When I tried to set the message text to HTML text some e-mail programs (Like Eudora Pro) rendered it fine. However other e-mail programs (Outlook and Outlook Express) do not render it and just show the html source. I know that there is a way to send formatted text since Word does it. I already called Microsoft Tech Support and they couldn't give me an answer. Can anyone help? Thans, Eli.

    W 1 Reply Last reply
    0
    • L Lost User

      Hi All, In my app I need to send e-mail directly. I use Simle MAPI for that and it works fine. The problem is that want to send formatted text. When I tried to set the message text to HTML text some e-mail programs (Like Eudora Pro) rendered it fine. However other e-mail programs (Outlook and Outlook Express) do not render it and just show the html source. I know that there is a way to send formatted text since Word does it. I already called Microsoft Tech Support and they couldn't give me an answer. Can anyone help? Thans, Eli.

      W Offline
      W Offline
      willi wacker
      wrote on last edited by
      #2

      Hi Eli,
      you cannot send formatted text with Simple MAPI by default (although some mail readers parse it correctly), because you cannot specify the format of the content in Simple MAPI. With Extended MAPI you can specify the encoding of the message body (text/HTML or text/RTF). For a sample, see Microsoft's MSDN online (search.microsoft.com/us/dev/) and search for article "Q216344". Willi ================== The original message was: Hi All,

      In my app I need to send e-mail directly.
      I use Simle MAPI for that and it works fine.

      The problem is that want to send formatted text.
      When I tried to set the message text to HTML text some e-mail programs (Like Eudora Pro) rendered it fine.

      However other e-mail programs (Outlook and Outlook Express) do not render it and just show the html source.

      I know that there is a way to send formatted text since Word does it.

      I already called Microsoft Tech Support and they couldn't give me an answer.

      Can anyone help?

      Thans,

      Eli.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups