Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get Outlook to actually send messages in the OutB
Message
 
À
03/10/2006 11:47:28
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01158911
Message ID:
01159139
Vues:
37
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform