Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Catch the item I just sent

Geek News

Catch the item I just sent
"Sharad Naik" <sharadnaik[ at ]no-spam.vsnl.net> 1/27/2006 10:23:24 AM
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


Re: Catch the item I just sent
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 1/27/2006 3:36:30 PM
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" <sharadnaik[ at ]no-spam.vsnl.net> wrote in message
news:%238Qh2uyIGHA.2668[ at ]tk2msftngp13.phx.gbl...
[Quoted Text]
> 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
>

Re: Catch the item I just sent
"Sharad Naik" <sharadnaik[ at ]no-spam.vsnl.net> 1/27/2006 4:15:15 PM
Excellent Ken,
Many thanks - works like a charm
Regards

Sharad

"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> wrote in message
news:OC%23oyd1IGHA.424[ at ]TK2MSFTNGP12.phx.gbl...
[Quoted Text]
> 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" <sharadnaik[ at ]no-spam.vsnl.net> wrote in message
> news:%238Qh2uyIGHA.2668[ at ]tk2msftngp13.phx.gbl...
>> 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
>>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net