Roundup Tracker - Issues

Issue 2550560

classification
roundup/mailer.py generates invalid messages
Type: behavior Severity: normal
Components: Interface Versions: 1.4
process
Status: closed duplicate
: Wrong mail headers
View: 2550565
: stefan : Nikratio, stefan
Priority: :

Created on 2009-07-10 14:33 by Nikratio, last changed 2009-07-19 22:48 by stefan.

Messages
msg3764 Author: [hidden] (Nikratio) Date: 2009-07-10 14:33
The 

   self.smtp_send(to, str(message))

call in line 120 generates an unix from line with Python 2.6.2. This
causes the MTA to immediately stop looking for headers, so all the
message headers end up in the mail body. Changing the above line to
  
   self.smtp_send(to, message.as_string(unixfrom=False))

fixes the problem. 

According to the Python documentation, unixfrom=False is actually the
default value. However, this is not the case in at least two Python
versions, so I think it can do no harm to work around this in roundup.
msg3813 Author: [hidden] (stefan) Date: 2009-07-19 22:48
This is a duplicate of issue2550565 (which is fixed in trunk).
History
Date User Action Args
2009-07-19 22:48:31stefansetstatus: new -> closed
superseder: Wrong mail headers
messages: + msg3813
assignee: stefan
nosy: + stefan
resolution: duplicate
2009-07-10 14:33:41Nikratiocreate