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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Email Formatted Text in ASP.NET with c#

Email Formatted Text in ASP.NET with c#

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
3 Posts 3 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.
  • N Offline
    N Offline
    NET India
    wrote on last edited by
    #1

    Hello Everyone, I've created my own emailEditor through which i can generate formatted text like bold, italic and etc..........I'm able to send this mail as well. But still there is a problem as i'm sending the bold text like name or paragraph at my mail i'm not receiving the text as bold.... I'm getting it like "Strong then text closing Strong. like text or paragraph not as formatted text"......................... Wht should i do now to get the formatted text as i'm sending at my mail or recipient

    J 1 Reply Last reply
    0
    • N NET India

      Hello Everyone, I've created my own emailEditor through which i can generate formatted text like bold, italic and etc..........I'm able to send this mail as well. But still there is a problem as i'm sending the bold text like name or paragraph at my mail i'm not receiving the text as bold.... I'm getting it like "Strong then text closing Strong. like text or paragraph not as formatted text"......................... Wht should i do now to get the formatted text as i'm sending at my mail or recipient

      J Offline
      J Offline
      jc net
      wrote on last edited by
      #2

      Are you missing this line: message.IsBodyHtml = true;

      P 1 Reply Last reply
      0
      • J jc net

        Are you missing this line: message.IsBodyHtml = true;

        P Offline
        P Offline
        Paras Kaneriya
        wrote on last edited by
        #3

        yes you may missing that line and if not then use server.encodeHTML(mailbody);

        Paras Kaneriya
        The difference between genius and stupidity is that genius has its limits.

        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