Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP - OUTLOOK : How?
Message
From
22/02/1999 07:31:10
 
 
To
22/02/1999 04:56:34
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00189896
Message ID:
00189914
Views:
18
>Hi all,

>Anyone know of a document describing the DDE commands to communicate with outlook, or does anyone know of any other way to communicate with outlook?

>I have to be able to send email from my app using outlook...

>thanks a lot,

>Sebastiaan.

I use in my app this procedure to send e-mail via Outlook.

oApp=CreateObject("Outlook.Application")
NameSpace= oApp.GetNameSpace("MAPI")
MailItem = oApp.CreateItem(0)
MailItem.Recipients.Add "is@didaktik.sk" &&sample adress
MailItem.Subject = "my autoexec.bat" &&sample subject
MailItem.Attachments.Add "c:\autoexec.bat" &&sample file
MailItem.Send
NameSpace.Logoff

You can repeat line four to add more recipients, or repeat line six
to add more attached files.

Maros Klempa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform