Read email signature from inspector

Add-in Express™ Support Service
That's what is more important than anything else

Read email signature from inspector
Hrishikesh Shahapurkar

Posts: 11
Joined: 2019-09-04

I want to read the signature in a received email using add-in express. Can you please point me to any existing code or library for my reference?
Posted 04 Sep, 2019 13:36:32 Top
Andrei Smolin

Add-in Express team

Posts: 17333
Joined: 2006-05-11
Hello Hrishikesh,

I assume you'll need to parse the email to find the signature. There's nothing to help you do this.

In case of a newly created email, you get Inspector.WordEditor and cast it to Word.Document. Typically, the signature is wrapped with a bookmark called _MailAutoSig. Getting this bookmark requires setting Document.Bookmarks.ShowHidden=true. Once Outlook sends the email, that bookmark is removed.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 05 Sep, 2019 03:13:54 Top