Re: simple text/plain message causes exception on save

Giganews Newsgroups
Subject: Re: simple text/plain message causes exception on save
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Tue, 5 Sep 2006

"Michael Johnson" <architeuthis6…@yahoo.com> wrote in message
news:4125868DA506E340architeuthis6…@yahoo.com...

> I received what I thought was a simple text message with the POP3
> class, but when I attempt to save it to file with SaveToFile() I get the
> exception: "The method or operation is not implemented."

Please show your actual code.

> The only strange thing I see is that there's an "=20" in there and I
> don't believe the message sender typed that in--

"=20" is how spaces are encoded using the "Quoted-Printable" encoding
scheme, which your message is actually using.

> I believe it's an encoded space

It is.

> but then why aren't all spaces encoded?

Because they don't need to be.  Only spaces at the end of a line need to be
encoded.  That is simply how "Quoted-Printable" works.

Gambit

Replies

In response to

simple text/plain message causes exception on save posted by Michael Johnson on Tue, 5 Sep 2006