First setup the 'CONFIG' file with email address, password, subject and message.
{
"email": "[email protected]",
"password": "yourPassword",
"subject": "Subject of the email comes here",
"message": "The email body comes here"
}
Next add list of receipient email addresses in mailing_list.txt file. One email per line.
$ cat mailing_list.txt
[email protected]
[email protected]
$ python3 mailer.py
If there's no error then there's no problem