how to stop emails from being sent in outlook via code
Hi,
I would like to control when emails get sent from Outlook. For
instance, when a user clicks send, some code needs to run. If the
result of the code that runs is acceptable, the email gets sent,
otherwise the message remains in the outbox. So I guess the event I
need to tap into is the one that checks the outbox for messages to be
sent and not the event that adds the item to the outbox items as items
will need to remain in the outbox until the result of the code that
runs is satisfactory.
I am using redemption in my code so would prefer to use that if at all
possible.
Thanks in advance.
Regards
Greg J
|