Skip to content

The main idea of this tool is to parse the mail header and detect the FROM / Subject option to change it + delete unwanted options .

License

Notifications You must be signed in to change notification settings

Ouzrour/Mail-Header-Parser

Repository files navigation

By.Ouzrour

Mail Header Parser

Why MHP ?

The main idea of this tool is to parse the mail header and detect the FROM / Subject option to change it + delete unwanted options .

How it work ?

ScreenShot

  1. The Main Textbox: Here you must paste the mail header
  2. the Subject TextBox : Here you must paste the new subject that you want to be replaced into the Mail Textbox
  3. The Detect Button : Detect all options in the header and input them in the Mail listbox (9)
  4. The Copy Button : Copy the content of the Main Textbox to the clipboard
  5. The Inject Button : Inject the Content of the Subject & From to the Main Textbox ( you can copy it after that )
  6. The Delete Button : Delete the selected element in the listbox from the Main Textbox
  7. The Reset Button : Delete all the content of the Main Textbox and the Main Listbox
  8. The FROM TextBox : Here where you must paste the new content of from that you want to be replaced into the Mail Textbox
  9. The Main ListBox : Here where , when you click the DETECT button , all options are listed .

Steps to use it ?

  • TO CHANGE The FROM/SUBJECT
  1. install all dependencies : ( do it just 1 time , if already done it , go to Step 2 )
pip install -r requirements.txt
  1. Paste the Mail Header into the Textbox
  2. fill the subject / FROM box
  3. Click "INJECT"
  4. Click "COPY"
  5. Enjoy !
  • TO DELETE some options from the header
  1. install all dependencies :( do it just 1 time , if already done it , go to Step 2 )
pip install -r requirements.txt
  1. Click "DETECT"
  2. select the options that you want to be deleted
  3. click "DELETE"
  4. Click "COPY"
  5. Enjoy !

For Windows User ( How to Deploy )

  1. install pyinstaller
pip install pyinstaller
  1. Open The file "main.spec" and change the path "E:\mailing\2. Header Generator\" to the absolute path where the application is !
  2. run cmd in the same folder as the project ( where header_parser_offi exist ) and run :
pyinstaller main.spec
  1. Go to the folder dist and run .exe
  2. Enjoy !

About

The main idea of this tool is to parse the mail header and detect the FROM / Subject option to change it + delete unwanted options .

Topics

Resources

License

Stars

Watchers

Forks

Languages