I can't see any obvious reason why it wouldn't work - though if it's a security issue, see
https://www.gmayor.com/create_and_em...gital_cert.htm
You could use instead a rule that runs on all incoming messages, with a script
Sub MailHasArrived(Item As Outlook.MailItem)
    If TypeName(Item) = "MailItem" Then
        'do stuff with Item
        MsgBox Item.Subject
    End If
lbl_Exit:
    Exit Sub
End Sub
If the script option isn't available see https://www.slipstick.com/outlook/ru...-script-rules/