PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Send/Receive through VBA
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Send/Receive through VBA
![]() |
Send/Receive through VBA |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
How do I program VBA to have Outlook do a Send/Receive?
I have several email accounts set up in Outlook, and I have Outlook automatically check for mail every minute. However, occasionally during the auto send/receive, Outlook gets hung up on one of the email accounts, and I'm no longer automatically getting my auto send/receive. After it hangs, the only way to get my emails is to manually hit the Send/Receive icon. Is there a way in VBA to program an auto send/receive every few minutes to overcome this issue? Thanks. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
See http://www.slovaktech.com/code_samples.htm#SendReceive for various
methods. Be aware that most of them will fire the security prompts in secure versions of Outlook. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Lead Author, Professional Outlook 2000 Programming, Wrox Press Lead Author, Beginning VB 6 Application Development, Wrox Press Attachment Options http://www.slovaktech.com/attachmentoptions.htm Extended Reminders http://www.slovaktech.com/extendedreminders.htm "Ed White" <ewhite2142@hotmail.com> wrote in message news:035d01c34007$81243b90$a301280a@phx.gbl... > How do I program VBA to have Outlook do a Send/Receive? > > I have several email accounts set up in Outlook, and I > have Outlook automatically check for mail every minute. > However, occasionally during the auto send/receive, > Outlook gets hung up on one of the email accounts, and > I'm no longer automatically getting my auto > send/receive. After it hangs, the only way to get my > emails is to manually hit the Send/Receive icon. Is there > a way in VBA to program an auto send/receive every few > minutes to overcome this issue? Thanks. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

