A simple script in python3.x
to
- Send text emails.
- Send to multiple clients.
- Send multiple attachments (including images, videos, audios and compressed files)
To send email from the local SMTP server (localhost) it is assumed that a mail transfer agent (MTA), like postfix, is already configured on your local system. If not the follow this gist for step by step setup.
To send email from the gmail server you need to allow access for less secure apps in your Google account