Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating the Inbox in Outlook
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00708659
Message ID:
00709180
Views:
23
I'm trying to add records to Outlook's inbox

Try this:
oApp = CreateObject( 'Outlook.application' )
oSpace = oApp.GetNameSpace( 'MAPI' )
oMess = oSpace.GetDefaultFolder( 6 )
oNew = oApp.CreateItem( 0 )
oNew.Subject = 'This is a line'
oNew.Recipients.Add( 'me@myself.com' )
oCopy = oNew.Copy()
=oCopy.Move( oMess )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform