Article ID: 189599
Article Last Modified on 7/1/2004
oOutlook = GETOBJECT(,"Outlook.Application")
oNameSpace= oOutlook.GetNamespace("MAPI")
oFolder = oNameSpace.GetDefaultfolder(4) && Go to Outbox, folder 4
oSend = oFolder.Items(1).Send && Send waiting items
To test this code, create a new e-mail message addressed to yourself. Save
and close the message without sending it. Move this message to the Outbox
and run the preceding code. This should make Outlook send the message.
185314 OL97: E-mail Does Not Leave the Outbox
162343 OL97: How to Troubleshoot Mail Stuck in the Outbox
185313 OL98: (IMO) E-mail Does Not Leave the Outbox
182572 OL98: How to Troubleshoot Mail Stuck in the Outbox
Additional query words: kbAutomation kbVFp300b kbVFp300 kbVFp500 kbVFp500a kbMAPI
Keywords: kbhowto KB189599