Use Email::MIME to parse a message and get array of message parts, then for every part check its content type and if it's 'image/jpeg' save into file.
Update: concerning ascii data -- it's a base64 encoded content, the body method from Email::MIME should automatically decode it.
In reply to Re: grabbing jpg from mbox
by zwon
in thread grabbing jpg from mbox [SOLVED]
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |