> 
> >    The message I am wanting to deliver is in a temporary file stream. If I
> >    pass this stream to the mu_stream_to_message function then the
> >    resulting message ends up with an additional ^M character appended to
> >    each line. This causes all sorts of problems further down the line
> >    which eventually corrupts the mailbox.
> >    I've used a file stream instead of a temporary file stream to trap the
> >    message data and that does not seem to add the extra character so I'm
> >    assuming its happening inside mu_stream_to_message.
> 
> No, mu_stream_to_message does not alter the stream content in any way.
> 

Having delved a bit deeper, my problem is related to CRLF's. Having altered my 
input stream so that all CRLF's are replaced with a \n,  it almost works!

A floating CRLF is appearing on the end of the stream, I can't see anywhere in 
my program where its coming from, but I'll track it down.

Andy

_________________________________________________________________

MSN straight to your mobile - news, entertainment, videos and more.

http://clk.atdmt.com/UKM/go/147991039/direct/01/
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to