|Subject:||Re: TIdMessage cuts mail at CRLF + "."|
|Posted by:||Remy Lebeau \(Indy Team\) (firstname.lastname@example.org)|
|Date:||Wed, 10 Jan 2007|
"adrian" <…@degwert.net> wrote in message
> i've got a strange problem with multipart-mails containing CRLF
> (ascii #13#10#46).
Which version of Indy are you using?
> tidmessage simply cuts the message at these characters (even if they
> are placed in the middle of a multipart (attachment or text)).
Then either the message is malformed to begin with, or you are doing
something wrong when saving/loading the message. Please provide more
> the mail has been received with indy and saved to a file with indy
> and nodecode, noencode = true
What did the message data look like when received? What did it look
like when saved to file?
> then been loaded on another computer
Loaded how exactly?
> why does tidmessage think that it's the end of the mail even if it's
Because it is supposed to. CRLF + '.' + CRLF is an end-of-message
marker. That is why any lines that begin with '.' have to be escaped
properly. It sounds like they are not in your situation.
TIdMessage cuts mail at CRLF + "." posted by adrian on Wed, 10 Jan 2007