2

I have an application that creates a message signature and deploys it to Outlook. How can I set it to be the default for a new/reply-forward message? I found out some solutions as below:

  • Using Microsoft.Office.Word.Interop object: wordObj.EmailOptions.EmailSignature.NewMessageSignature

But it initializes an Outlook object too, so I don't want it.

  • Setting a value in the registry as described here

But in some machines, I am not able to find this registry key.

Has anyone found a stable solution for this problem? Any help would be appreciated so much.

Community
  • 1
  • 1
daipn
  • 21
  • 4
  • Added cryptography tag, hopefully with more Outlook knowledge will see the question. If you have already solved it, please post the solution and add @owlstead, happy to vote it up. Try and apply often used tags, signature only has 12 followers, cryptography has 722... – Maarten Bodewes Nov 25 '13 at 00:39

1 Answers1

0

You are on the right avenue.

But in some machine, I was not able to find this key.

That's because you don't have any profiles configured in Outlook. Or signatures were not set in Outlook. In that case you need to add the required windows registry keys - a REG_Binary named "New Signature" or "Reply-Forward Signature".

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45