SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't see a tag in html or even the .eml file that distinguishes the signature in an email (specifically Outlook emails).

Is there any way to extract the signature from the email in C#?

share|improve this question
Is this in a specific SharePoint context (i.e. incoming email)? If so, you should reword the question, if not, than StackOverflow is probably a better place to ask this question. That being said a signature will be nothing more than text (or html, etc) in the body text. You would need some sort of regex or other pattern type filter to find them (if you know there will be specific wording in a sig, than you may be able to to just look for blocks of text around that). – Jesus Shelby Aug 16 '12 at 0:11
Sorry for late reply. Yes it's incoming email in Sharepoint. I've been checking out the emails coming in in .eml format and there doesn't look like there is any defining tag/statement that seperates the text body and the signature. I wonder if the .mht format does...? – cbrad Aug 21 '12 at 15:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.