
December 4th, 2007, 12:53 AM
|
 |
|
|
Join Date: Jun 2006
Location: Salem, OH
|
|
I'm not aware of any way to monitor the Send Mail button explicitly, however, you can use an event procedure that runs each time a message is sent.
vb Code:
Original
- vb Code |
|
|
|
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) strTitle = "Your message has been sent" strPrompt = "A message with the following subject:" & vbCr & vbCr strPrompt = strPrompt & Item.Subject & vbCr & vbCr strPrompt = strPrompt & "has been sent to " & Item.To MsgBox strPrompt, vbOKOnly, strTitle End Sub
This example simply displays a message box confirming that a message was sent.
__________________
 Click the image if at any point you don't like my decision.
Scripting problems? Windows questions? Ask the Windows Guru!
Last edited by Nilpo : December 4th, 2007 at 12:56 AM.
|