php extract image from piped email
This is an extension to a question which I asked some time ago.
I am now interested in trying to get images out of an email piped to a php script. Where are they stored, or would they have to be decoded from t开发者_高级运维he email?
I know there are imap functions but can they be used reading from stdin. I really no nothing, any help would be appreciated.
mmm if i remember correctly the attach data from mail are saved at the bottom of itself base64 encoded, so retrieve data and use base64_decode to get the real value... i'm not 100% sure anyway..
精彩评论