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. Web Development
  3. ASP.NET
  4. Html Tags in .net

Html Tags in .net

Scheduled Pinned Locked Moved ASP.NET
csharphtml
2 Posts 2 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.
  • S Offline
    S Offline
    samsonx
    wrote on last edited by
    #1

    Hi, I am doing Email application, in the Email body field i wanna use HTML tags. Is there any keywords are there. Please give me some idea about this. I am using vb.net with c# language. Thanks in advance

    With Regards, Samson

    S 1 Reply Last reply
    0
    • S samsonx

      Hi, I am doing Email application, in the Email body field i wanna use HTML tags. Is there any keywords are there. Please give me some idea about this. I am using vb.net with c# language. Thanks in advance

      With Regards, Samson

      S Offline
      S Offline
      SeMartens
      wrote on last edited by
      #2

      You can use the MailMessage-class http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx[^]). To use HTML within the mail write the HTML-code in the body element and set the property "IsBodyHtml" to true. Regards Sebastian P.S.:

      samsonx wrote:

      I am using vb.net with c# language.

      Interesting. How do you achieve this?

      It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

      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