Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-17-2006, 01:33 PM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Rep:
|
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!
Last edited by kdmcdrm; 07-17-2006 at 01:41 PM.
|
|
|
07-17-2006, 02:05 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
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?
|
|
|
07-18-2006, 08:36 AM
|
#3
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
07-18-2006, 08:43 AM
|
#4
|
Member
Registered: Jul 2006
Distribution: Ubuntu
Posts: 34
Rep:
|
Are you talking about a POP3 program? if so, describe which- Thunderbird, Pine...
|
|
|
07-18-2006, 10:01 AM
|
#5
|
Member
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424
Rep:
|
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.
|
|
|
07-18-2006, 10:23 AM
|
#6
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Rep:
|
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.
|
|
|
07-19-2006, 09:13 AM
|
#7
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Original Poster
Rep:
|
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 11:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|