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

Catch the item I just sent



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 27th 06, 10:23 AM posted to microsoft.public.outlook.program_addins
Sharad Naik
external usenet poster
 
Posts: 11
Default Catch the item I just sent

Hello,

I am using COM Add-In ib VB6.
Through the add-in when a defined events occur I send a message automatcally
through the add-in. This is working fine.
Now I want to monitor and check
when the item actually gets sent, i.e. it when moves from outbox to sent
item.
How can I refer to the message I just sent, progrmatically?
I though of using SynEnd event, but if there is error during
synchronization (remove mail server is down, etc.) the SynEnd event will be
still fired while my item is still in outbox.
Any suggestions?

Thanks in Advance

Sharad


Ads
  #2  
Old January 27th 06, 03:36 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Catch the item I just sent

Trap the ItemAdd event on the Items collection of the Sent Items folder.

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


"Sharad Naik" wrote in message
...
Hello,

I am using COM Add-In ib VB6.
Through the add-in when a defined events occur I send a message
automatcally
through the add-in. This is working fine.
Now I want to monitor and check
when the item actually gets sent, i.e. it when moves from outbox to sent
item.
How can I refer to the message I just sent, progrmatically?
I though of using SynEnd event, but if there is error during
synchronization (remove mail server is down, etc.) the SynEnd event will
be
still fired while my item is still in outbox.
Any suggestions?

Thanks in Advance

Sharad


  #3  
Old January 27th 06, 04:15 PM posted to microsoft.public.outlook.program_addins
Sharad Naik
external usenet poster
 
Posts: 11
Default Catch the item I just sent

Excellent Ken,
Many thanks - works like a charm
Regards

Sharad

"Ken Slovak - [MVP - Outlook]" wrote in message
...
Trap the ItemAdd event on the Items collection of the Sent Items folder.

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


"Sharad Naik" wrote in message
...
Hello,

I am using COM Add-In ib VB6.
Through the add-in when a defined events occur I send a message
automatcally
through the add-in. This is working fine.
Now I want to monitor and check
when the item actually gets sent, i.e. it when moves from outbox to sent
item.
How can I refer to the message I just sent, progrmatically?
I though of using SynEnd event, but if there is error during
synchronization (remove mail server is down, etc.) the SynEnd event will
be
still fired while my item is still in outbox.
Any suggestions?

Thanks in Advance

Sharad




 




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
Calendar Item Forwarding BigMike044 Outlook - Calandaring 0 February 14th 06 08:13 PM
my inbox do not catch all the mails polo55 Outlook - General Queries 1 February 9th 06 04:49 PM
import one item lost Steelcity Gal Outlook - Using Contacts 6 February 6th 06 09:36 PM
calendar item Sue Mosher [MVP-Outlook] Outlook - Calandaring 5 January 24th 06 07:17 PM
How to set sent date to non sent item? Prasad Bhagwat Outlook - Using Forms 0 January 11th 06 01:34 PM


All times are GMT +1. The time now is 04:06 AM.


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.