Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Outlook Email
Message
 
À
17/08/2004 14:49:12
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00933900
Message ID:
00933902
Vues:
19
Try this approach:

loOutLook = CREATEOBJECT('Outlook.Application')

loOutLookItem = loOutLook.CreateItem(0)
loOutLookItem.Cc = "Send Cc"
loOutLookItem.TO = "Send To"
loOutLookItem.Subject = "Subject"
loOutLookItem.Body = "Body"

lcExportFile = "File to be sent"

*-- You may send it:
*-- As Attachment
loOutLookItem.Attachments.ADD(lcExportFile)

*-- Or As a body
loOutLookItem.HtmlBody = FILETOSTR(lcExportFile)


*-- Before To send:
*-- Display Before EMail
loOutLookItem.DISPLAY()

*-- Or JustSend
loOutLookItem.SEND()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform