Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send HTML with MAPI
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00437190
Message ID:
00437466
Vues:
19
Nikos,
You can send HTML in the body of the mail with Outlook 2000 in this way

* Mailrep.htm is your HTML file

lcBody = FILETOSTR("MailRep.htm")

o=createobject("outlook.application")
oNS = o.GetNameSpace("MAPI")
oitem=o.createitem(0)
oitem.display
oitem.recipients.add("pepe@pepe.com")
oitem.subject="Something"
oitem.htmlbody=lcbody
oitem.send
oitem=null
o=null

HTH.


>I am try to send HTML mail (not only text) and then display like in outlook viewer. I am using MAPI with Visual Foxpro but it send the email like text with attachments.
>How can i do this with MAPI (can i use MIME) ?
>
>Nick.
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