Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

retrieving attachments from IMAP server

Status
Not open for further replies.

grimkin

Programmer
Jul 7, 2002
2
0
0
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top