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. Read And Get the Value OF html Content from Email Body

Read And Get the Value OF html Content from Email Body

Scheduled Pinned Locked Moved C#
csharphtmlhelptutorialworkspace
5 Posts 4 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.
  • N Offline
    N Offline
    NitishInfy
    wrote on last edited by
    #1

    I Have one email with 2 tables in it. My task is to convert both tables into dataTables in C sharp environment . Could you please help me how to convert email body content tables into dataTables values.

    M O M 3 Replies Last reply
    0
    • N NitishInfy

      I Have one email with 2 tables in it. My task is to convert both tables into dataTables in C sharp environment . Could you please help me how to convert email body content tables into dataTables values.

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      The body of you email is going to be text/html so look into parsing a text file to extract the structure unique to your tables. Getting at the body of the mail is dependent on your email client!

      Never underestimate the power of human stupidity RAH

      1 Reply Last reply
      0
      • N NitishInfy

        I Have one email with 2 tables in it. My task is to convert both tables into dataTables in C sharp environment . Could you please help me how to convert email body content tables into dataTables values.

        O Offline
        O Offline
        ouchouchouch
        wrote on last edited by
        #3

        也许可是使用解析xml的API来处理

        1 Reply Last reply
        0
        • N NitishInfy

          I Have one email with 2 tables in it. My task is to convert both tables into dataTables in C sharp environment . Could you please help me how to convert email body content tables into dataTables values.

          M Offline
          M Offline
          madhubsu gmail com
          wrote on last edited by
          #4

          you have to read the mail content by streamreader. By the way if the mail came into gmail then how can you get the mail body content into your application? can you please tell in little bit more detail your requirement?

          N 1 Reply Last reply
          0
          • M madhubsu gmail com

            you have to read the mail content by streamreader. By the way if the mail came into gmail then how can you get the mail body content into your application? can you please tell in little bit more detail your requirement?

            N Offline
            N Offline
            NitishInfy
            wrote on last edited by
            #5

            Its Just the HTML codes which needs to be read. Like :

            Hello

            Here's is Just an Example in which we have to Just Get Hello i.e. value. Inspite of value we have to remove special chahracters also from tag values. Hope it is clear to you. I will look for your help . Thanks .

            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