|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Better Notification for Outgoing mail...Hey guys,
I need to find a way to have Outlook give me better notification for when mail is sent. Right now, Outlook is all too quiet when it has stuff hanging around unsent in the inbox. What I want... Is to have Outlook pop up a post it note, or miniform, to let me know when something is trying to be sent, and tell me the status of it, until it completes sending. So for starters... 1. How can I trigger an event, EVERY time someone sends a mail. 2. In that event, how can I make like an Outlook Postit note pop up on the Screen and take it away once it's sent. Does anyone know of any code samples that do something similar to this? Did you try catching the Application_ItemSend event?
You can use a UserForm to display a message. just before it is actually sent. -- Show quoteHide quoteJim Vierra "Scriptmonkey" <scriptmon***@hotmail.com> wrote in message news:1107971549.369842.202090@l41g2000cwc.googlegroups.com... > Hey guys, > > I need to find a way to have Outlook give me better notification for > when mail is sent. Right now, Outlook is all too quiet when it has > stuff hanging around unsent in the inbox. > > What I want... Is to have Outlook pop up a post it note, or miniform, > to let me know when something is trying to be sent, and tell me the > status of it, until it completes sending. > > So for starters... > > 1. How can I trigger an event, EVERY time someone sends a mail. > 2. In that event, how can I make like an Outlook Postit note pop up on > the Screen and take it away once it's sent. > > Does anyone know of any code samples that do something similar to this? > Aha! Ok. So can I have Outlook launch a form at Start up, and then in
that event, put code to see when something is trying to be sent? How easy does Outlook make it to know when the Item is Sent. Is there an Item_Sent event? (Or are we talking about some nightmare scenario, with a looping seperate thread API.) I really just want the form to pop up saying.... "Sending... Sending... Sending...", and then "Sent", or "Failed to Send" after 10 seconds or something like that. Individual items have Item_Send events and globally there's the
Application_Send event that Jim mentioned. You can trap either. To trap Item_Send you would have to set up the event handler in the NewInspector event. Take a look in the Object Browser to see what events are available to you. -- Show quoteHide quoteKen Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Scriptmonkey" <scriptmon***@hotmail.com> wrote in message news:1108478565.230644.266490@z14g2000cwz.googlegroups.com... > Aha! Ok. So can I have Outlook launch a form at Start up, and then in > that event, put code to see when something is trying to be sent? > > How easy does Outlook make it to know when the Item is Sent. Is there > an Item_Sent event? (Or are we talking about some nightmare scenario, > with a looping seperate thread API.) > > I really just want the form to pop up saying.... "Sending... > Sending... Sending...", and then "Sent", or "Failed to Send" after 10 > seconds or something like that. >
Other interesting topics
Reading text from Email
unexpected behaviour: mailitem.save and attachment Prevent attachments for being inserted into the body How to send meeting request from ASP .NET using VB click event awareness in contacts form Unattended outlook issue Remove Personal folder in Folder list POP3/IMAP password encoding NewMail and NewMailEx do not fire until script run manually Case# 7181 - End user need to add extra items in drop down menu. |
|||||||||||||||||||||||