Outlook Macro to do a send/receive on specific group

  • Thread starter Thread starter Cam
  • Start date Start date
C

Cam

I have multiple email accounts setup in Outlook XP and want to split them
into groups. I want to have buttons assigned for each group that will run a
Macro to undertake a send/receive on that particular group only. I would be
grateful for any sample code to assist.

Thanks.
 
For that use the NameSpace.SyncObjects collection and get the desired
SyncObject, which is one of your send/receive groups, then call Start() on
that SyncObject. Each SyncObject has a Name property that can be used to
identify it. Where there's only one send/receive group for example, that
Name would be "All Accounts" (the default send/receive group).
 
Back
Top