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:
urlFile = open("mailList.txt", "r+") mailList = [i.strip() for i in urlFile.readlines()]
and put each recipient on its own line (i.e. separate with a line break).