I try to send mails from python to multiple email-addresses, imported from a .txt file, I\'ve tried differend syntaxes, but nothing would work...
The code:
It needs to be a real list. So, with this in the file:
recipient@mail.com,recipient2@mail.com,recipient3@mail.com
you can do
mailList = urlFile.read().split(',')