Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dispaying emails in Outlook
Message
From
20/10/2002 11:09:13
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
 
 
To
20/10/2002 09:08:07
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00713248
Message ID:
00713304
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform