Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
1  
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
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.