in reply to grabbing jpg from mbox [SOLVED]
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: grabbing jpg from mbox
by halfcountplus (Hermit) on Jul 30, 2009 at 19:14 UTC |