Help!

Grab emails as they are sent

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA RSS
Next:  Step thru all the folders in Outlook  
Author Message
Humphrey
External


Since: Mar 27, 2007
Posts: 8



PostPosted: Wed Feb 25, 2009 9:45 pm    Post subject: Grab emails as they are sent
Archived from groups: microsoft>public>outlook>program_vba (more info?)

Can someone please show me how to grab an email after the Send button has
been pressed? I want to force a Save(Y/N) if the message size is over a set
limit. Sick of storing messages for no reason and wasting space.

H
Back to top
oshosoul
External


Since: Feb 26, 2009
Posts: 1



PostPosted: Thu Feb 26, 2009 6:46 am    Post subject: Re: Grab emails as they are sent [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 26, 12:45 am, Humphrey <Humph... RemoveThis @discussions.microsoft.com>
wrote:
> Can someone please show me how to grab an email after the Send button has
> been pressed? I want to force a Save(Y/N) if the message size is over a set
> limit. Sick of storing messages for no reason and wasting space.
>
> H

You can create the email programmatically and then you can save I on
whatever condition you want
Thanks

Vivek
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Thu Feb 26, 2009 9:17 am    Post subject: Re: Grab emails as they are sent [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you have a reference to the item being sent you can trap the Item.Send()
event. An alternative is to trap the application-wide Application_ItemSend()
event.

Go to www.outlookcode.com and search there on "send event" to find lots of
samples for both events in various languages.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Humphrey" <Humphrey.TakeThisOut@discussions.microsoft.com> wrote in message
news:7E267851-7A08-481C-A5AD-D20194B15540@microsoft.com...
> Can someone please show me how to grab an email after the Send button has
> been pressed? I want to force a Save(Y/N) if the message size is over a
> set
> limit. Sick of storing messages for no reason and wasting space.
>
> H
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum