A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to get an email during the send process?



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old October 15th 07, 08:22 PM posted to microsoft.public.outlook.program_addins
sublimese
external usenet poster
 
Posts: 10
Default How to get an email during the send process?

I am making an Outlook addin. The addin must work with Outlook 2003
and Outlook 2007. One of the requirements of the addin is that after
a user sends an email, I must make a copy of it and place that copy
into a specific folder in the public folder tree.

I know how to copy an item, and I know how to place an item into the
public folder tree.

What I have not found a way to solve is how to get a copy of an email
AFTER it is sent. When I make a copy of the email, that emails "Sent"
property must be "TRUE" and its "SentOn" property must be populated
with the correct time.

Unfortunately all the events I have attempted to hook all happen
BEFORE the email is sent. I have tried to hook the Item_Send event,
various outbox events, I looked into the "Send/Receive" group events
with no luck. The closest I have come is hooking the item_add event
on the "Sent" folder. While this would certainly fulfill the
requirements of getting the email after it was sent, the issue with
that a user can choose weather or not sent email items go into the
"Sent" folder. A user can set this as an outlook wide option, and can
also set it on an item by item basis.

I need something that will reliably allow me to get a copy of an email
after the email has gone through the sending process.

Thank you

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 Send and receive process. Ben Norman Outlook - General Queries 1 May 21st 07 12:52 AM
Reversing a process.... Carmen Gauvin-O'Donnell Outlook - Using Contacts 6 January 30th 07 07:58 PM
Access Outlook from process other than Outlook process Wassim Dagash Add-ins for Outlook 2 January 16th 07 07:28 PM
Weekly Email Sending Process cclemay Outlook and VBA 1 February 15th 06 10:38 PM
Change Default Send email form to Custom Send email Form Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 06:33 PM


All times are GMT +1. The time now is 08:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.