Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple Text formatting with CDO Mail
Message
 
 
À
22/01/2006 12:46:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01089221
Message ID:
01089252
Vues:
13
Which property of the Message object did you assign you message to? You have to use TextBody for the text.

>
>I am using CDO to send emails via VFP 9.0. I can successfully send an attached PDF report, or a web page.
>
>The problem comes when I try to send a simple formatted text message: Something like
>
>Order #: tyttuytuyt
>Item: This is a test item
>UPC: 065335387370
>Qty Ordered: 2
>
>I add this programmatically to the message body and it appears perfectly in the "Send" form. ( I am using the example from Megafox) When the message is sent, at the receiving end, all CRLF's are lost.
>
>Note: I have modified the sample CDO object CreateSession method to use only the CDOConfig table, as I want to control the user info etc.
>
>Any ideas how to retain formatting? (Code available on request)
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform