.net - How to programmatically (C#) create and add a default (HTML) signature in Outlook 2013? -


Sorry to bother you - but maybe someone can help me here?

We are creating an Outlook 2013 VSTO add-in to manage the center of the contract signature and publish each user as the default signature.

We have already managed to create the appropriate HTML files and keep them in the correct folder.

All the same, there is no problem modifying the appropriate registry keys, e. G.

  HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ 15.0 \ Common \ General where we set the value of the "signature" element in the folder of the signature file Name  
  HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ 15.0 \ Common \ MailSettings  

Where we use the "new signature" and "answer signature" elements as the default signature

  HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ 15.0 \ Outlook \ Profiles \ Outlook \ 9375CFF0413111d3B88A00104B2A6676  

where - in the appropriate user profile folder - Us The values ​​of "new signature" and "north-forward signature" elements need to be set to the binary-converted name of the default signature file.

All these actions work perfectly well and later, we find the right entries in the appropriate files and in the registry keys. However, after email Outlook and e-mail signature add-in setup, do not see user default signature !

As soon as they open the "signature" dialogue in the mail editor screen - and it is actually only enough to open it; There is no need to either click "OK"! - So they get the sign!

So my question is: Is there any other registry key or whatever needs to be done so that the signature can be displayed immediately - open the "signature" dialog without users! Does anyone know what happens in the background of this dialogue ?!

What do I ignore ?!

Thank you very much - I really hope you can help me!

You can see the data in - Click on IOlkAccountManager, double click on the account, the new and the answer sign names will be in the properties of 0x0016001F and 0x0017001F respectively.

These properties are expanded on the interface MAPI (C ++ or Delphi). You can also set them using (any language) - the object pneumusz highlighting the signature and answer properties, along with the field [] (can be used to set any asset).


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -