Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Re: Email
Divers
Thread ID:
00229733
Message ID:
00229832
Vues:
14
>I'm trying to send reports via email directly from within my application. What is the name of the Outlook property that needs to be assigned the name of the attached file? Is this the best way to email reports directly? Thanks, Shuli

There is not a property, but an attachments collection of the item.

oItem.Attachments.Add("MyFile.txt")

The only way that I know of to send reports via e-mail is to print them to a pdf file (Acrobat Exchange is required to do this) and then attach that file to an e-mail.

BTW- if you want your app to be more widely usable, don't automate Outlook- this rewuires the user to have Outlook installed. You can use MAPI to do most email functions, but better yet, use an aftermarket mail control like the one available from Mabry.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform