none
SET NEW MESSAGE SIGNATURE DIFFERENTLY FOR EACH INDIVIDUAL EMAIL ACCOUNT WITHIN A SINGLE PROFILE RRS feed

  • Question

  • I have been searching for DAYS at MSDN, OfficeDev and other Internet sites with no luck.

    Let's say I have an Outlook profile built for a user who has:

    • a corporate Exchange server account (default account);
    • a GoDaddy IMAP account;
    • a Yahoo POP3 account;
    • a GMail IMAP account and;
    • an Outlook.Com IMAP account.

    I am NOT looking to set the default NewMessage signature in the registry because that sets the SAME signature for ALL profiles and ALL accounts. This is NOT what I want! I have also seen code to manually copy files and all kinds of other stuff that has nothing to do with the answer I need.

    In Outlook 2013 > File > Options > Mail > Signatures, a person can set a distinct and separate signature for each account listed in the profile.

    I cannot seem to find any documentation to perform this with code. I can't even find how to list signatures in a profile, much less which ones, if any, are assigned to any accounts.

    Is there anyone out here who knows how to achieve this?



    • Edited by Techsys Jim Wednesday, June 24, 2015 9:32 PM
    Wednesday, June 24, 2015 9:26 PM

Answers

  • On the MAPI level (C++ or Delphi), the signature name is set on the corresponding IOlkAccount object - you can see it in OutlookSpy: click IOlkAccountManager button, double click on the account. Signature names are stored in the PROP_NEW_MESSAGE_SIGNATURE and PROP_REPLY_SIGNATURE properties.

    If Extended MAPI is not an option, you can use Redemption and its RDOAccount object - it exposes (read/write) NewMessageSignature and ReplySignature properties.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Wednesday, June 24, 2015 9:39 PM
  • Not directly since the Outlook Object Model does not support it. In case of a script, Redemption is the only option I am afraid.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    • Marked as answer by Techsys Jim Wednesday, July 8, 2015 2:06 PM
    Wednesday, July 8, 2015 1:29 PM

All replies

  • On the MAPI level (C++ or Delphi), the signature name is set on the corresponding IOlkAccount object - you can see it in OutlookSpy: click IOlkAccountManager button, double click on the account. Signature names are stored in the PROP_NEW_MESSAGE_SIGNATURE and PROP_REPLY_SIGNATURE properties.

    If Extended MAPI is not an option, you can use Redemption and its RDOAccount object - it exposes (read/write) NewMessageSignature and ReplySignature properties.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Wednesday, June 24, 2015 9:39 PM
  • Is it not possible to do this via PowerShell or any other scripting?

    Monday, July 6, 2015 11:21 AM
  • Not directly since the Outlook Object Model does not support it. In case of a script, Redemption is the only option I am afraid.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    • Marked as answer by Techsys Jim Wednesday, July 8, 2015 2:06 PM
    Wednesday, July 8, 2015 1:29 PM