NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on March 18, 2012, 11:07:56 AM
-
I am using strings (16384) to build my message text but when I send email the incoming text is shown as one continuous line without the CR/LF.
In other words, on my memory form I have a string field which is type 'text'. I enter the message but it is received as one long string. I was using a Memo filed but changed that as I thought that would cause problems.
I am baffled why this should be. Any ideas would be appreciated.
Thanks
john
-
You must define your CR/LF as ascii values, i.e. <13,10>.
Cheers
Rob
-
if it's coming in as one long string (as per your other thread) then it's not that surprising it's going out as one long string as well....
-
Soory must have misled you Bruce. I check the calue of ThisSendEMail.MessageText just prior to the send and there are new paragraphs in there. Hopefully the latest release fixes that.
Thanks
John
-
Rob - sorry I think you missed the point. I have no control over the CR,LF format.
It is the user entering text into a Text box (defined as a String) so pressing Enter on their keyboard enters whatever code is required.
The string just prior to sending appears to have CR/LF added but when received no CR/LF appears to be present. As if they have been stripped out.
John