13 May
2002
13 May
'02
7:14 p.m.
Gilles Lenfant writes:
My app sends mail through a python script like this...
body = "blah blah body" title = "blah blah title" mh = container.mailhost_list()[0] mh.send(body, mto='me@somedomain.com', mfrom='mailmaster@somedomain.com', subject=title, encoding='quoted-printable') return 'OK'
This works but the mail has not the excepted "to" header and shows...
"To: undisclosed-recipients: ;"
This is pretty unfair in the mail client.
Did I miss something to have the "mto" parameter of the .send() method in the "To:" header of the mail ? If you put it there, that will be at least a workaround...
Dieter