Anonymous
login
I think it should be possible using MailGetMessageAttachmentInfo (I have not used it before)
or you could retrieving this information from FILEOBJECT structure contained in $FILE item.
Both approaches should give the same result