Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chr(13)+chr(10) in Email body (wwipstuff)
Message
From
16/03/2006 15:27:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Title:
Chr(13)+chr(10) in Email body (wwipstuff)
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01105058
Message ID:
01105058
Views:
88
Hi,

I try to put the content of a memo field into the body for an email message with wwipstuff.

Name of the memo field: email.body

o.cMessage = alltrim(email.body)

It prints the whole content of the memo field without any return.




I tried from former tips to convert the chr(13)+chr(10) into

vMessage = alltrim(email.body)
vMessage = strtran(vMessage, chr(13), "%0d" )
vMessage = strtran(vMessage, chr(10), "%0a" )
o.cMessage = alltrim(vMessage)

but still the whole body prints in one peace without any line breaks.

Thank you for any advice

Johann Pietschnig
pietschnig@usa.com
Next
Reply
Map
View

Click here to load this message in the networking platform