Skip to content

A simple python script to extract attachments from email source file (MIME).

License

Notifications You must be signed in to change notification settings

stoneark/ExtractEmailAttachment-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ExtractEmailAttachment-python

A simple python script to extract attachments from email source file (MIME).

Usage

python getemailattach.py <SOURCE_MIME_PATH> [<OUTPUT_FOLDER_PATH>] [-d]

Or

python getemailattach.py -stdin [<OUTPUT_FOLDER_PATH>]

Parameters

  • <SOURCE_MIME_PATH>: Required, support a file path or a folder path.
  • <OUTPUT_FOLDER_PATH>: Optional, default value is the current path.
  • -d: Delete source MIME files after completed.
  • -stdin: Read email from standard input.

About

A simple python script to extract attachments from email source file (MIME).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages