Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email including a file by program
Message
De
02/10/2000 10:41:40
 
 
À
02/10/2000 10:29:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00423410
Message ID:
00423417
Vues:
11
>Hello,
>
>Somebody know the syntax to send a mail with a file included on it.
>
>Thanks you
>
>Sylvain

For Outlook at least...

#DEFINE olMailItem 0 && zero
oOutlook = CREATEOBJECT("Outlook.Application")
oMail = oOutlook.CreateItem(olMailItem)
oMail.To = "who you're sending it to"
oMail.Subject = "subject"
oMail.Attachments.Add("full path to attachment file")
oMail.Send()
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform