|Outlook Developer Reference|
Initiates immediate delivery of all undelivered messages submitted in the current session, and immediate receipt of mail for all accounts in the current profile.
Version Added: Outlook 2007
expression A variable that represents a NameSpace object.
|showProgressDialog||Required||Boolean||Indicates whether the Outlook Send/Receive Progress dialog box should be displayed, regardless of user settings.|
Calling the SendAndReceive method is synchronous.
SendAndReceive provides the programmatic equivalent to the Send/Receive All command that is available when you click Tools and then Send/Receive.
All accounts defined in the current profile are used in Send/Receive All. If an online connection is required to perform the Send/Receive All, then the connection is made according to user preferences.