Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get Outlook to actually send messages in the OutB
Message
 
To
03/10/2006 11:47:28
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01158911
Message ID:
01159139
Views:
36
This message has been marked as the solution to the initial question of the thread.
Here is how to force it out, depending on your setting it might not go right away
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
>I am sending e-mail messages in MS OutLook through Automation and OutLook is placing the messages in the OutBox, I want to know how to force Outlook to actually send the messages as if I clicked the send/receive button.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform