Cannot form correctly the FORM part of the header when sending mail

Dave Angel davea at davea.name
Thu Sep 5 06:33:20 EDT 2013


On 5/9/2013 05:36, Ferrous Cranus wrote:

>
>
> nikos at superhost.gr [~]# cat /tmp/err.out
> sendmail =>  13-09-05 12:20:53 (<class 'TypeError'>, 
> TypeError("sendmail() missing 2 required positional arguments: 
> 'to_addrs' and 'msg'",), <traceback object at 0x7f3fb4f44488>)
> nikos at superhost.gr [~]#
>
> but all of the needed args are within MESSAGE.
> Cant it take it from there?
>

Do you know how to find a link like this?

http://docs.python.org/3.3/library/smtplib.html#smtplib.SMTP.sendmail


-- 
DaveA





More information about the Python-list mailing list