I need a script in Python, that will send email using postfix in linux to a list of emails.
The script should ask for the sender's email, sender's name and subject.
Message body should be loaded from a txt file.
Attachment must be enabled , so I can attach documents to the message.
Also should ask for which list of emails should I send the message to.
python [url removed, login to view]
After running the script, should reset the windows and ask:
Sender's name: Enter sender's name / Enter
Sender's email: Enter sender's email / Enter
Subject : Enter Subject / Enter
Attach file : Yes/No - If yes , ask which file to attach. If No move on ..
Email list : enter the file name of the list of emails you want to send.
Message body should be automatically loaded from a file.