WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

mail receiving event

 
   Home -> Office -> Program Add-Ins RSS
Next:  How to tell Outlook 2007 not to download old emai..  
Author Message
mad

External


Since: Feb 15, 2008
Posts: 11



(Msg. 1) Posted: Mon Aug 04, 2008 12:22 am
Post subject: mail receiving event
Archived from groups: microsoft>public>outlook>program_addins (more info?)

Hello!

How can my add-in know that Outlook 2007 is starting and finishing
mail receiving?

Thanks.
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2953



(Msg. 2) Posted: Mon Aug 04, 2008 9:01 am
Post subject: Re: mail receiving event [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can't on an automatic send/receive, there are no events for that. For a
synch started by code you can handle the SyncObject.SyncStart and .SyncEnd
events.

You can tell when items are being added to the Inbox using the ItemAdd event
of the Inbox's Items collection, but that event will fire even if someone
drops an item there, so it's not foolproof.

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


"mad" <andreyk.mad RemoveThis @gmail.com> wrote in message
news:17d8bc20-7beb-4c4e-88b2-11d67c13cd9a@t54g2000hsg.googlegroups.com...
> Hello!
>
> How can my add-in know that Outlook 2007 is starting and finishing
> mail receiving?
>
> Thanks.
Back to top
Login to vote
mad

External


Since: Feb 15, 2008
Posts: 11



(Msg. 3) Posted: Tue Aug 05, 2008 5:00 am
Post subject: Re: mail receiving event [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok, thanks!

And how about synchronization or transport state. Can I get their
state?

On 4 Á×Ç, 16:01, "Ken Slovak - [MVP - Outlook]" <kenslo....DeleteThis@mvps.org>
wrote:
> You can't on an automatic send/receive, there are no events for that. For a
> synch started by code you can handle the SyncObject.SyncStart and .SyncEnd
> events.
>
> You can tell when items are being added to the Inbox using the ItemAdd event
> of the Inbox's Items collection, but that event will fire even if someone
> drops an item there, so it's not foolproof.
>
> --
> 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
>
> "mad" <andreyk.....DeleteThis@gmail.com> wrote in message
>
> news:17d8bc20-7beb-4c4e-88b2-11d67c13cd9a@t54g2000hsg.googlegroups.com...
>
> > Hello!
>
> > How can my add-in know that Outlook 2007 is starting and finishing
> > mail receiving?
>
> > Thanks.
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2953



(Msg. 4) Posted: Tue Aug 05, 2008 9:11 am
Post subject: Re: mail receiving event [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

There are no SyncObject events that fire when a default send/receive is
initiated as a timed event or when started by the user unfortunately.

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


"mad" <andreyk.mad.TakeThisOut@gmail.com> wrote in message
news:afd7c17a-5edd-4c63-ad69-d0f52b9c6a91@d77g2000hsb.googlegroups.com...
Ok, thanks!

And how about synchronization or transport state. Can I get their
state?
Back to top
Login to vote
mad

External


Since: Feb 15, 2008
Posts: 11



(Msg. 5) Posted: Wed Aug 06, 2008 7:55 am
Post subject: Re: mail receiving event [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

But OnSyncStart and OnSyncEnd events fires fine. Outlook 2007.

On Aug 5, 4:11 pm, "Ken Slovak - [MVP - Outlook]" <kenslo... DeleteThis @mvps.org>
wrote:
> There are no SyncObject events that fire when a default send/receive is
> initiated as a timed event or when started by the user unfortunately.
>
> --
> 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
>
> "mad" <andreyk.... DeleteThis @gmail.com> wrote in message
>
> news:afd7c17a-5edd-4c63-ad69-d0f52b9c6a91@d77g2000hsb.googlegroups.com...
> Ok, thanks!
>
> And how about synchronization or transport state. Can I get their
> state?
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Program Add-Ins 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET