none
Junk E-mail Events RRS feed

  • Question

  • Hi all,

    I am developing an Outlook add-in and need to programmatically know when an email address is added to the Blocked or Safe Senders. Are there any Events to which I can subscribe?

    I already access and read Blocked or Safe Senders via Redemption. Polling these lists for additional new values is not an option for me since it will be incurring much overhead. Any other possible ideas are welcome.

    Thanks!

    Andrei

    Wednesday, October 30, 2013 4:05 PM

Answers

  • Since you are already using Redemption, you can open the hidden message containing the junk rule using RDOFolder.HiddenItems.Find specifying message class = "IPM.ExtendedRule.Message" and PR_RuleMsgProvider (DASL name http://schemas.microsoft.com/mapi/proptag/0x65EB001F ) = "JunkEmailRule".

    You can then use the RDOMail events to monitor changes to that hidden message.


    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 AndreiZammit Friday, November 1, 2013 9:03 AM
    Thursday, October 31, 2013 2:00 AM