Miki Tebeka wrote:
> Hello All,
>
...
> s.sendmail(main["From"], main["To"], msgstr)
s.sendmail expects a list of recipients as the second parameter. You are
passing a string. Try :
s.sendmail( main["From"], main["To"].split(", "), msgstr)