Re: TIdMessage cuts mail at CRLF + "."

Giganews Newsgroups
Subject: Re: TIdMessage cuts mail at CRLF + "."
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Wed, 10 Jan 2007

"adrian" <…@degwert.net> wrote in message
news:ACDCE36D9A16E340…@degwert.net...

> 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
information.

> 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
a mime-multipart-mail?

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.

Gambit

Replies

In response to

TIdMessage cuts mail at CRLF + "." posted by adrian on Wed, 10 Jan 2007