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

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Sep 5 13:28:36 EDT 2013


On Thu, 05 Sep 2013 12:36:57 +0300, 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?

Obviously not. If it could, it would.



-- 
Steven



More information about the Python-list mailing list