Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dispaying emails in Outlook
Message
De
20/10/2002 11:09:13
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
20/10/2002 09:08:07
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00713248
Message ID:
00713304
Vues:
26
Marcia, many thanks for the reply.

>>Replace this:
.Save()
with this;
.Send()<<

But wouldn't that automatically send the emails? What I would like to do is to have a quick look at the generated emails in the Outbox before sending the batch in one go.

I have just tried the following...

* --------------------
oNameSpace = oOutLook.GetNameSpace( 'MAPI' )
oOutbox = oNameSpace.GetDefaultFolder( 4 )

Email generating code goes here

oOutbox.Display()
* -------------------

The outbox is displayed correctly, but it's empty - the emails are still being sent to the Drafts folder. Can I direct the emails to oOutbox, perhaps in the oitem = oOutlook.CreateItem(0) line?

TIA
Alan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform