Script to parse emails for attachments
Posted
by Swanny
on Stack Overflow
See other posts from Stack Overflow
or by Swanny
Published on 2010-05-18T19:50:07Z
Indexed on
2010/05/18
20:00 UTC
Read the original article
Hit count: 117
I am looking for a way to monitor a Linux mbox email account, when an email arrives I would like to download an attachment from the email and save the attachment (CSV file) so that it may be used by a PHP script. What would be the best way of going about this? I have looked at PHP's IMAP functions but this does not appear to be the most appropriate method when a simple bash script may be all that is required?
© Stack Overflow or respective owner