Solved

Receiving mime messages with attachments

Posted on 1998-12-08
7
356 Views
Last Modified: 2010-04-21
At this moment i'm using filter to filter out some messages from my mailbox and process the data in it. However, at this moment people, sending me this data, do still have to put their data in the text itself, because when they send it as attachments, i receive a mime-message.
How can i automatically extract the data from such a mime message ? We do have metamail and mimencode on our box.
0
Comment
Question by:c827433
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 

Author Comment

by:c827433
ID: 2008256
Adjusted points to 80
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008257
does following not work?

   cat mail.text | metatmail
0
 

Author Comment

by:c827433
ID: 2008258
"cat mail.text | metamail" doesn't work if i'm using filter. Metamail becomes then interactive. I've found i can specify an option to make it extract the files automatically.
I now specify "cat mail.txt | metamail -w -x -B". In advance i set the variable METAMAIL_TMPDIR to a temporary directory to write the extracted files to.
This seems to work !
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008259
so, did my suggestion point you to a solution?
0
 

Author Comment

by:c827433
ID: 2008260
No, actually i found it myself, but you can have the points if you like !
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 80 total points
ID: 2008261
it was a half-hearted answer, but you got to solve your problem.
So we have a PAQ now, nice.
0
 

Author Comment

by:c827433
ID: 2008262

Thank you for your support !
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question