I have to change the email signature in Outlook with C# code.
I know you can change the values in the Register. But I need to use the Microsoft API.
I got it working like this:
Outlook. oA = new Outlook.ItemsClass(); oA.Application. Word.Application W = new Word.Application(); Word.EmailOptions O; O = W.Application.EmailOptions; O.EmailSignature.NewMessageSignature = szSignName; O.EmailSignature.ReplyMessageSignature = szSignName;
This works. but is evil. Since it kills outlook if its running at the same time and makes things slow etc.
Now I need to develop this as a Outlook plugin myself, so I doubt I would have to use the Word Api at all.
Who has any ideas? / Tips / Papers for me?
Thanks.
~Robin

New Topic/Question
Reply



MultiQuote





|