Home All Groups Group Topic Archive Search About

Better Notification for Outgoing mail...

Author
9 Feb 2005 5:52 PM
Scriptmonkey
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?
Author
10 Feb 2005 2:17 AM
Jim Vierra
Did you try catching the Application_ItemSend event?
You can use a UserForm to display a message. just before it is actually
sent.

--
Jim Vierra
Show quoteHide quote
"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?
>
Are all your drivers up to date? click for free checkup

Author
15 Feb 2005 2:42 PM
Scriptmonkey
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.
Author
15 Feb 2005 3:08 PM
Ken Slovak - [MVP - Outlook]
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.

--
Ken 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


Show quoteHide quote
"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.
>

Bookmark and Share