Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Express OLE anyone?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00384247
Message ID:
00384257
Views:
34
>I have this mapi code and it uses Outlook 2000.
>
>oOutlook = CreateObject("Outlook.Application")
>oMail = oOutlook.CreateItem(0)
>oMail.Recipients.Add("srussell@lotmate.com")
>oMail.Subject = "Some Subject"
>oMail.Body = "This is the body of the mail"
>oMail.Attachments.Add("c:\dfox.prg")
>oMail.Send
>oMail = NULL
>oOutlook = NULL
>
>What is the reference for OE?
>

There isn't one; OE doesn't provide an automation interface of its own. You'd have to fall back to a MAPI class that relies on OE's services.

If you want Outlook.Application, you need Outlook 9x/2K; the Outlook object model is not supplied by Outlook Express.

>And if you know that how do you look at OE inbox for a specific sender and copy an attached file off the message?
>
>TIA
>
>__Stephen
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform