Hallo Andreas,
deine Schleife über die MessageParts wird sicher nie ausgeführt.
Indy-Help: TIdMessage -> NoDecode ... When NoDecode is True, the message will be retrieved and added to MessageParts as MIME-encoded attachments. ... When NoDecode is False, the message will be retreived and the message body is stored in Body in its MIME-encoded form. ...
Dir auch Frohe Ostern.