|Subject:||Re: checking IMAP mails for an attachment|
|Posted by:||Remy Lebeau (TeamB) (email@example.com)|
|Date:||Fri, 3 Mar 2006|
"Hans Peter" <hanspet…@hotmail.com> wrote in message
> i want to check if an mail on an imap server
> contains an attachment, but i have no idea
> how to do this
Have a look at the RetrieveStructure() and UIDRetrieveStructure() methods.
> if length(TheMsg.Headers.Values['X-Attachments']) > 0 then
By definition, 'X-' headers are non-standard, and thus not necessarily
supported on all systems.
checking IMAP mails for an attachment posted by Hans Peter on Fri, 3 Mar 2006