Cannot form correctly the FORM part of the header when sending mail
Ferrous Cranus
nikos at superhost.gr
Thu Sep 5 06:48:54 EDT 2013
Στις 5/9/2013 1:33 μμ, ο/η Dave Angel έγραψε:
> 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
>
>
is there way to alter tha FROM field to the one used in the webform by
the visitor?
GMail adds the Sender by default is there some other service that
doesn't and use the FROM field?
--
Webhost <http://superhost.gr>
More information about the Python-list
mailing list