Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Text formatting with CDO Mail
Message
 
 
To
22/01/2006 12:46:27
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01089221
Message ID:
01089252
Views:
14
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform