Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

Receiving mime messages with attachments

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
c827433
Asked:
c827433
  • 4
  • 3
1 Solution
 
c827433Author Commented:
Adjusted points to 80
0
 
ahoffmannCommented:
does following not work?

   cat mail.text | metatmail
0
 
c827433Author Commented:
"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
Industry Leaders: 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!

 
ahoffmannCommented:
so, did my suggestion point you to a solution?
0
 
c827433Author Commented:
No, actually i found it myself, but you can have the points if you like !
0
 
ahoffmannCommented:
it was a half-hearted answer, but you got to solve your problem.
So we have a PAQ now, nice.
0
 
c827433Author Commented:

Thank you for your support !
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now