M
MWE
I am running Outlook2000 and WinXP. I recently tried to
use Application_ItemSend and it did not "work". The
Application_Startup procedure works fine, but
Application_ItemSend procedure does not appear to be
called when a mail message is sent. Both are in
the "ThisOutlookSession" under "Microsoft Outlook Objects".
I have stripped out all code except a MsgBox indicating
that the procedure is executing:
Private Sub Application_ItemSend(ByVal Item As Object,
Cancel As Boolean)
'
'
MsgBox "Application_ItemSend procedure"
Cancel = False
End Sub
I never see the prompt, it does not matter whether Cancel
is set to True or False and any mail message goes right to
the OutBox.
Is there something else that needs to be done other than
put code into the procedure?
Thanks
use Application_ItemSend and it did not "work". The
Application_Startup procedure works fine, but
Application_ItemSend procedure does not appear to be
called when a mail message is sent. Both are in
the "ThisOutlookSession" under "Microsoft Outlook Objects".
I have stripped out all code except a MsgBox indicating
that the procedure is executing:
Private Sub Application_ItemSend(ByVal Item As Object,
Cancel As Boolean)
'
'
MsgBox "Application_ItemSend procedure"
Cancel = False
End Sub
I never see the prompt, it does not matter whether Cancel
is set to True or False and any mail message goes right to
the OutBox.
Is there something else that needs to be done other than
put code into the procedure?
Thanks