LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-14-2005, 08:31 PM   #1
ozfly
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Email client that can do the following?


Am looking for an email client that will do the following

Drop attachments into a particular folder
Save body of email as a txt file into a particular folder [using filename as subjectline of email]

Be great if this could be automated without any input from the user.

Have tried kmail, but ran into encoding issues with saving of the body of the email as a txt file. (Returns were not held, gobbydegook, etc)

I have an issue of people keep sending me long body emails (ie: not as an attachment) and need a way to keep the paragraphs, spacing, etc as it is into a txt file.

Wondered if any one else managed to automate their emails so attachments are downloaded automatically to a folder (so you can grab ex: another program or view via konsole), with the body of the email saved as txt automatically.

Be great if I could also automate the printing out of the first page with the name/s of the attachment listed on the 1st page.

ozfly
 
Old 04-15-2005, 01:34 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
You can't just save MIME attachments as a text file.
They are encoded data, usu Base64 coding.
Better to save the entire email in a store and copy a stripped version back to the main store.

Probably better to do this at the mail server..
 
Old 04-15-2005, 02:16 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
i'm not sure, but take a look at sylpheed, and sylpheed-claws. They might do something you need.
 
Old 04-15-2005, 02:19 AM   #4
ozfly
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your reply peter,
Its going over my head.

I use the isp mail server and I was hoping that one could simply (like outlook express) just save text (without html coding, etc) as a txt file.
Guess its not possible at this point of time.

Linux Thunderbird also rendered text useless with HTML formating and square boxes throughout. with no paragraphs etc.
Will now try wine/codeweavers to run Eudora.

All suggestions welcomed. At the moment I've got to keep a window box for emails, not the idea setup.
Am running debian sarge.
 
Old 04-15-2005, 02:35 AM   #5
ozfly
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
whansard

thanks for the suggestion! am off to try it out. will post outcome here.
 
Old 04-15-2005, 06:16 AM   #6
fuzzyash
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184

Rep: Reputation: 30
I use Thunderbird 1.0. When I do "File - Save As - File", or ctrl-s, it saves the message as a plain text file that I can open in gedit. All header are there as well as the attachment in asci format. Don't know if this helps.
You say you tried this & got "square boxes throughout". What are you using to view the file that you save?
 
Old 04-15-2005, 10:33 AM   #7
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
Automation with thunderbird:

Use the Thunderbird Filters option to divert your mail to various Local Folders sub folders, from there you can use other text handling methods to parse the:

.thunderbird/default/???/Mail/Local Folders/xxx(subfolder file)

This will not be any help with encoded documents, for those you will need something like perl mailtools and fetchmail.

A convenient way to transfer html content from an email to a document is simply to cut and paste from Thunderbird into OpenOffice.
 
Old 04-16-2005, 07:22 PM   #8
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
I found this Googling for "script remove email attachments debian"..

http://mailtools.anomy.net/sanitizer.html
Uses procmail to do the dirty work.
That's installed for sure on your Sarge box..
 
Old 04-16-2005, 10:12 PM   #9
ozfly
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Sorry, the most important thing I've seem to have omitted is that I'm trying to open the text file on a winbloze box; because my legacy app is not currently supported via wine/codeweavers at the present time.

So when you open the text file you get all the html code / squares / everything is run on, etc (can't seem to cut and paste in here as it automatically makes it behave). -- this happens in winbloze version of open office / M$word / notepad / wordpad / in my legacy app.

The email itself is plain text, but ends up with HTML encoding (M$ouLook I bet) when you save as, which is just really strange.
Its almost like a bastardized version of htm source code but worse. (this happened from kdemail/tbird)

I did consider manual cut and paste into Open Office, but thats really time consuming when one deals with 100+ emails a day.

Thanks to all for your help & suggestions.
Will tame this email beast as soon as I get some free time and post back here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
email client cant recieve POP3 email johnharry Linux - Networking 8 12-27-2006 04:20 AM
Transferring Email from Outlook to Linux Email Client dbindel Linux - Software 5 07-24-2006 08:48 AM
Email client that supports HTTP email (hotmail NoUse4ANick Linux - General 5 11-07-2005 03:51 AM
Email client that support HTTP email accounts tumana Linux - Software 6 04-29-2005 08:26 PM
Email Client Vs. Email server byfaithalone Linux - Newbie 3 12-05-2003 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration