Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send an email with attached file during a program
Message
 
À
23/06/2000 13:01:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00383873
Message ID:
00386849
Vues:
30
Hi Carl,
This lines were sent to me by David Stevenson, if your users have installed Outlook 2000 you can send a mail from your app.

o=createobject("outlook.application")
oitem=o.createitem(0)
oitem.display
oItem.Recipients.Add("email address or name from address book")
oitem.subject="HTML Test"
oitem.htmlbody="< HTML>< BODY>< H1>Headline< /h1>< /body>< /html>"
oitem.send
oitem=null
o=null
This is documented in "VBAOUTL9.CHM" help, which you should have with your Outlook installation.

HTH
Carlos Etcheverry
Monte Grande
Buenos Aires
Argentina

Es mejor un mal dia de pesca que un buen dia de trabajo!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform