Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

decoding MIME coded Emails

5 views
Skip to first unread message

Britta Müller

unread,
Jun 19, 2003, 3:54:38 AM6/19/03
to
How can I decode MIME coded Emails with Indy 9 (base64, quoted
printable) ?

code-example:

idMessage1.Clear;
IdPOP31.Retrieve(mailno,idMessage1);
s := '';

for i := 0 to idMessage1.Body.Count-1 do begin
s := s + idMessage1.Body[i];
MemoBody.Lines.Add('Line ' + IntToStr(i+1) + ': ' +
idMessage1.Body[i]);
end;

result: "This is a multi-part message in MIME format."

There are components like TIdMessageDecoderMIME, but I don't know
how to use them.

I searched and asked all over the (german) web, but no one can help
:-(

Code example would be fine...
============

Ciaran Costelloe

unread,
Jun 19, 2003, 12:24:45 PM6/19/03
to
If you look under the current IdIMAP4 source code, there is working code in
InternalRetrievePart.

Ciaran Costelloe


"Britta Müller" <DustyM...@wep.de> wrote in message
news:vuq2fv8guqn7f4kbb...@4ax.com...

0 new messages