Modifying Signatures or Add upon clicking New/Reply

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

Modifying Signatures or Add upon clicking New/Reply
Trying to automate signatures 
Mark De Lorenzo




Posts: 40
Joined: 2015-06-22
Years ago, I created a utility for our enterprise to use that creates 6 Signatures. A NEW & REPLY signature for each format, TEXT/HTML/RTF. And it configures Outlook to use each, respectively, for NEW and REPLY emails. Then with normal use, Outlook pastes the Signature in right away as soon as you start editing an email. I really want to utilize Add-In Express to rebuild this utility so that I can provide an Add-In that works in any Office Host and Version.

I'm currently moving all the functionality of that Signature utility and other tasks into an Enterprise Office Add-In (using Add-In Express). The Add-In will add a company Ribbon Tab to Outlook, Word, and Excel. All is going great so far. Most functionality has been replicated and improved. Currently the Add-In is creating the TEXT/HTML/RTF Signatures in memory. All I've been able to do so far is have the Add-In append the signature upon clicking SEND (except the RTF one, still struggling with that one). Is there a way to have it either;

1. Update the saved 6 emails and configure Outlook to use these respectively?
2. Insert the Signature in the same fashion that Outlook inserts them at the beginning of editing?
Posted 22 Jun, 2015 08:22:09 Top
Andrei Smolin


Add-in Express team


Posts: 18818
Joined: 2006-05-11
Hello Mark,

I need to do a small research. I'll update you tomorrow.

Mark De Lorenzo writes:
1. Update the saved 6 emails


I assume, this should read "6 templates", correct?

Mark De Lorenzo writes:
2. Insert the Signature in the same fashion that Outlook inserts them at the beginning of editing?



Andrei Smolin
Add-in Express Team Leader
Posted 22 Jun, 2015 09:59:07 Top
Mark De Lorenzo




Posts: 40
Joined: 2015-06-22
Andrei Smolin writes:
I assume, this should read "6 templates", correct?

Yes. I meant to type Update the saved 6 Signatures.
Posted 22 Jun, 2015 10:07:27 Top
Andrei Smolin


Add-in Express team


Posts: 18818
Joined: 2006-05-11
Hello Mark,

I've found a number of links that seem to describe creating and applying signatures in detail. Please check:
http://forums.asp.net/t/1927792.aspx?how+to+add+default+signature+to+outlook+from+c+
http://stackoverflow.com/questions/15800911/programmatically-set-outlook-2013-signature-defaults
http://www.howto-outlook.com/howto/corporatesignatures.htm
http://stackoverflow.com/questions/25820914/c-sharp-how-to-include-outlook-signature-in-an-email-that-contains-images

I'd add however that a signature is created wrapped in a Word.Bookmark the name of which is "_MailAutoSig". Don't delete it! Getting this bookmark requires setting Document.Bookmarks.ShowHidden=true.

Are these what you are looking for?


Andrei Smolin
Add-in Express Team Leader
Posted 23 Jun, 2015 07:12:57 Top
Mark De Lorenzo




Posts: 40
Joined: 2015-06-22
Thank you for the confirmation. That's how I was managing the signatures before. So I guess my curiosity was more about "Does Add-In Express" assist with signatures in any way? But your answer confirmed that I'm simply incorporating my previous code into the new add-in.
Posted 25 Jun, 2015 13:32:40 Top
Andrei Smolin


Add-in Express team


Posts: 18818
Joined: 2006-05-11
Hello Mark,

I'm sorry for the delay with my response; this was due to my illness: I caught cold. Now I'm okay.

The answer is yes, you need to incorporate the existing code into the add-in.


Andrei Smolin
Add-in Express Team Leader
Posted 29 Jun, 2015 03:49:56 Top