Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using VFP 6 with Outlook
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01009195
Message ID:
01009203
Vues:
25
You can build a body of email in HTML. This way you can apply whatever formatting you want.
loEmailItem.HtmlBody = lcHtmlBody
>This is a sample code piece we are using to send email to Outlook from VFP 6.
>How do we add information about the font, the size and color for loEmailItem.Body (next to last line, below)
>loApp = CREATEOBJECT("Outlook.application")
> loEmailItem = loApp.CreateItem(0)    && MAILITEM
> loEmailItem.Recipients.Add(ThisForm.cURL)      &&Uses the Recipients colleection
> loEmailItem.Subject = This.Parent.Txtsubject.Value
> loEmailItem.Importance = 1      && IMPORTANCENORMAL
> loEmailItem.Body = This.Parent.EdtNotes.Value
> loEmailItem.Send
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform