LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Saving Email Attachments (https://www.linuxquestions.org/questions/linux-software-2/saving-email-attachments-464933/)

kdmcdrm 07-17-2006 01:33 PM

Saving Email Attachments
 
Hello all, first post here, so this may be a newbie question :).

I need a command (or script) that will allow me save incoming email attachments without any user input. I do not need to open them, just save them as they are onto the drive.

Thanks in advance!

Matir 07-17-2006 02:05 PM

Where are you planning to get them from? SMTP to your box? POP3 or IMAP from another mail server? Will you also be reading this account with a normal client? If so, which client?

kdmcdrm 07-18-2006 08:36 AM

I'm recieving them from SMTP into this email address's box. But the only purpose this email will serve is to save these files so the email won't be checked with any client at all.

Tailer 07-18-2006 08:43 AM

Are you talking about a POP3 program? if so, describe which- Thunderbird, Pine...

spirit receiver 07-18-2006 10:01 AM

Consider using Perl. On http://www.cpan.org, there's a module named Email::Folder that reads email from your mbox file, for example, and there's also Email::MIME::Attachment::Stripper.

ethics 07-18-2006 10:23 AM

Quote:

Originally Posted by spirit receiver
Email::MIME::Attachment::Stripper.

Made me think of those virtual dancing girls that go on the desktop, those were the days.

kdmcdrm 07-19-2006 09:13 AM

Thanks
 
Quote:

Made me think of those virtual dancing girls that go on the desktop, those were the days.
haha ethics, those are still the days ;).

Quote:

Email::MIME::Attachment::Stripper
Thanks Spirit Reciever, that appears to be exactly what I need, just beginning to set it up.

Thanks all for your responses.


All times are GMT -5. The time now is 06:45 AM.