Laden...

[erledigt] Outlook Default Signature

Erstellt von morbus85 vor 11 Jahren Letzter Beitrag vor 11 Jahren 3.406 Views
M
morbus85 Themenstarter:in
81 Beiträge seit 2009
vor 11 Jahren
[erledigt] Outlook Default Signature

Hallo zusammen,

vielleicht kann mir jemand verraten oder helfen, wie ich die aktuelle Signatur im Outlook heraus finden kann.
Die Signatur selber zu laden und einzubauen, ist kein Problemen. Probleme entstehen nur dann, wenn im Signatur Ordner mehr als eine drinnen ist.
Im Outlook kann man die Option vergeben, welche Signatur bei Neuen Nachrichten und welche bei Antwort/Weiterleitung verwendet werden soll. Diese Information würde ich gerne heraus finden.
Ich habe halb Google abgesucht und auch im MSDNA Objektenbibliothek durch gesucht, jedoch ohne erfolg.
Vielleicht kann mir einer sagen, wo Outlook diese Einstellungen, vielleicht in einem XML Dokument, speichert.

16.806 Beiträge seit 2008
vor 11 Jahren

Erster Treffer bei Google Set Default Signature outlook

Inhalt:

Found a way to do this with a registry key. the key is located at HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows messaging Subsystem\Profiles[OutlookProfilename]\9375CFF0413111d3B88A00104B2A6676

in that key there will me mutitple folder 00000001 going up, for each signature one. if you delete someone's windows profile the count starts at 1 again.

in here if you place a REG_Binary named "New Signature" or "Reply-Forward Signature" the value should be the name of the signature in hex format. Say the signatures name is Test it would become
54 65 73 74 in hex. the reg key would like it like this:
54006500730074000000000000000000000000

Dies konnte ich auch nachvollziehen.

M
morbus85 Themenstarter:in
81 Beiträge seit 2009
vor 11 Jahren

Ha! Da war ich auch schon, jedoch war es ein Schuss ins Leere 8)

Kommando zurück und durch die Nase atmen 😁

Die Lösung sieht so aus:

Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Office.Interop.Word.Application();

		    Microsoft.Office.Interop.Word.EmailOptions emailOptions = wordApp.EmailOptions;
		    Microsoft.Office.Interop.Word.EmailSignature emailSignature = emailOptions.EmailSignature;

Die Lösung fand ich nach 1001 Seite hier

Nur komisch, dass mein Objektkatalog nichts mit

EmailSignature

fand, obwohl ich alle Bibliotheken angegeben habe.