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:
The sendmail function requires a list of addresses, you are passing it a string.
sendmail
If the addresses within the file are formatted as you say, you could use eval() to convert it into a list.
eval()