Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chr(13)+chr(10) in Email body (wwipstuff)
Message
De
16/03/2006 15:27:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Titre:
Chr(13)+chr(10) in Email body (wwipstuff)
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01105058
Message ID:
01105058
Vues:
87
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform