Re: Moving message from POP to IMAP

Giganews Newsgroups
Subject: Re: Moving message from POP to IMAP
Posted by:  Remy Lebeau \(Indy Team\) (
Date: Sun, 19 Apr 2009

"Valdir" <ogecr…> wrote in message

> But on the target imap account the messages without attachments
> appear  with a CRLF . CRLF at the end of the message.

AppendMsg() calls TIdMessage.SaveToFile() to save the message to a temporary
file, and then uploads the file to the server.  What you describe is caused
by a design limitation in how the TIdMessage.SaveTo...() methods are
implemented.  Those limitations affect other things besides IMAP, and are
unfortunately not an easy thing to fix in Indy's current architecture
without some big re-writes to how Indy handles messages in general.

Remy Lebeau (TeamB)


In response to

Moving message from POP to IMAP posted by Valdir on Fri, 17 Apr 2009