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. General Programming
  3. C#
  4. display MailMessage

display MailMessage

Scheduled Pinned Locked Moved C#
questionhtmldesignhardware
3 Posts 3 Posters 0 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.
  • P Offline
    P Offline
    paschka76
    wrote on last edited by
    #1

    Hi! I'm building a MailMessage object containing html body with embedded images. How can I now display the content of the message with its embedded pictures in an UI control like WebBrowser? Thank you!

    A I 2 Replies Last reply
    0
    • P paschka76

      Hi! I'm building a MailMessage object containing html body with embedded images. How can I now display the content of the message with its embedded pictures in an UI control like WebBrowser? Thank you!

      A Offline
      A Offline
      AspDotNetDev
      wrote on last edited by
      #2

      Extract the HTML to a file in a temp folder. Then extract the images to that same folder. You may have to adjust the HTML so it points to those images correctly. Then point the WebBrowser to the HTML file you created in the temp folder.

      [Forum Guidelines]

      1 Reply Last reply
      0
      • P paschka76

        Hi! I'm building a MailMessage object containing html body with embedded images. How can I now display the content of the message with its embedded pictures in an UI control like WebBrowser? Thank you!

        I Offline
        I Offline
        i gr8
        wrote on last edited by
        #3

        There are free controls available to show html content. use that

        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