Ask question when Send is pressed

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi,

I've been asked to see if I can organize a window to popup whenever someone
hits the Send button on an email. The popup asks if the email needs to be
filed in our records system Yes or No. If No, the email goes out normally.
If Yes, a further popup window will collect a couple of additional items of
information and sends a copy of the email and additional info to our Records
people.

We have Exchange 2003 and a Windows 2003 Active Directory. Clients are
Outlook 2003.

Is this possible and where should I look for a guide on how to implement
this?

Thanks,

John
 
If this is for enterprise-wide use, then the application should be an Outlook add-in. It would use the Application.ItemSend event to ask questions. Here is a VBA example of that event:

Write code for the Application_ItemSend event handler, e.g.:

Private Sub Application_ItemSend _
(ByVal Item As Object, Cancel As Boolean)
If Item.Subject = "" Then
Cancel = True
MsgBox "Please fill in the subject before sending.", _
vbExclamation, "Missing Subject"
End If
End Sub

For information on building add-ins, see:

http://www.outlookcode.com/article.aspx?ID=36
http://www.outlookcode.com/article.aspx?ID=42
 
Back
Top