Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send HTML in Outlook
Message
De
06/09/2000 10:07:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00412891
Message ID:
00412918
Vues:
21
David,

>Granted, there are cases where we don't know what email program a recipient will be using. But there are a few cases where I know for certain that all recipients will be running Outlook 98 or higher.

Get wwIPStuff from www.west-wind.com and don't worry again about what email program your users have. Sending HTML email is as simple as (remove spaces added around tags):

cHTML = "< html >< body >< h1 >This is HTML< /h1 >< b >Test.< /b >" + ;
"< /body >< /html >"

loIP = CREATE("wwIPStuff")
loIP.cMailServer="your.ispsmtp.mail" && smtp outgoing server
loIP.cSenderEmail="youruser@theirisp.com"
loIP.cSenderName="Your Username"
loIP.cRecipient = "recip@recipisp.com"
loIP.cSubject = "HTML email test"

* here's the key
loIP.cContentType = "text/html"
loIP.cMessage = cHTML

loIP.SendMailAsync()
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform