G
GA Kvarud
I have an add-in for Outlook, that is supposed to check emails before they
are sent, in order to check if certain conditions are fulfilled. It works by
catching the inspectors_NewInspector-event, and grabbing the item. If the
conditions are not filled, the Cancel option of the item_send event is used.
If anyone uses the File, Send-command in Office, there is a problem, as with
some of the options, no Inspector is created. I therefore cannot get to the
item.
I am able to catch it as it enters the outbox (items_ItemAdd), and can check
it. But is there any way to stop an item from being sent, when it has
arrived in the outbox? I have not found any neither in Outlook or with the
help of Redemption.dll.
Or are there any other way of achieving the same?
Thank you for your answers.
Sincerely
Geir-André Kvarud
are sent, in order to check if certain conditions are fulfilled. It works by
catching the inspectors_NewInspector-event, and grabbing the item. If the
conditions are not filled, the Cancel option of the item_send event is used.
If anyone uses the File, Send-command in Office, there is a problem, as with
some of the options, no Inspector is created. I therefore cannot get to the
item.
I am able to catch it as it enters the outbox (items_ItemAdd), and can check
it. But is there any way to stop an item from being sent, when it has
arrived in the outbox? I have not found any neither in Outlook or with the
help of Redemption.dll.
Or are there any other way of achieving the same?
Thank you for your answers.
Sincerely
Geir-André Kvarud