Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP - OUTLOOK : How?
Message
De
22/02/1999 07:31:10
 
 
À
22/02/1999 04:56:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00189896
Message ID:
00189914
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform