Forwarded emails are unfortunately sometimes transmitted by Outlook as .eml file
ID: 658376 • Letter: F
Question
Forwarded emails are unfortunately sometimes transmitted by Outlook as .eml files, which are unusable for normal users. In particular, extracting attachments from .eml files is a challenge.
What software can extract all attachments contained in a .eml file?
Requirements:
Free
Open source
Runs on Linux
Output a file per attachment, with the intended name.
No need to compile (binaries available, or script)
Reasonably fast to install, I would rather avoid having to set up a particular email client program just to process this .eml file.
Explanation / Answer
Unpack messages in MIME or split-uuencode format.
Munpack are utilities for encoding and decoding (respectively) binary files in MIME (Multipurpose Internet Mail Extensions) format mail messages.
To Install:
sudo apt-get install mpack
To extract the eml contents
munpack 1.eml
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.