[PHP] Imap and attachments

2005-03-10 Thread Evert | Rooftop Solutions
Hi, I started using the IMAP functions and ran into a problem with some headers for attachments. The first one is: Content-type: image/psd; x-unix-mode=0644; name=FinalVersion6.psd Content-transfer-encoding: base64 Content-disposition: inline; filename=FinalVersion6.psd Generated by Mac Mail. The

Re: [PHP] IMAP and Attachments

2001-07-24 Thread Jome
> How can I check to see if a email has an attachment? Then download it if the > user clicks on it? I've been working on a webmail for POP3 but I guess the idea is about the same. To check if a an email has attachments you use the function imap_fetchstructure() and then you can do something l

[PHP] IMAP and Attachments

2001-07-23 Thread kath
Hiya all. Doing the usual web based mail system. How can I check to see if a email has an attachment? Then download it if the user clicks on it? Preferably a class, documentation or something similar, if you have it. Please don't link an RFC, I hate RFCs, it is like reading Aramaic upside,