hi there, im coding a web - IMAP interface and its going quite peachily except i can work out how to get the attachments. e.g. if i have a mail which has text "test", a zip file and a gif file attached, i can get hold of them respectively by issuing
001 fetch <mailId> body[1] --> text
001 fetch <mailId> body[2] --> 1st attchment (encoded)
001 fetch <mailId> body[3] --> 2nd attachment (encoded)
but how do i get hold of the headers for them which contain the content type, encoding type etc?
any help appreciated!
cheers
ben
001 fetch <mailId> body[1] --> text
001 fetch <mailId> body[2] --> 1st attchment (encoded)
001 fetch <mailId> body[3] --> 2nd attachment (encoded)
but how do i get hold of the headers for them which contain the content type, encoding type etc?
any help appreciated!
cheers
ben