Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send mails with files attachment from vfp
Message
De
03/09/2008 14:03:43
 
 
À
03/09/2008 11:54:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01344536
Message ID:
01344605
Vues:
52
>how to send mails with files attachment from vfp

Here's my code for doing that:

theApp = CreateObject("Outlook.Application")
theNameSpace = theApp.GetNameSpace("MAPI")
theMailItem = theApp.CreateItem(0)

theMailItem.Subject = thisform.pdf_subject
theMailItem.Attachments.Add(thisform._filename)

themailitem.display()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform