[zope2-tracker] [Bug 965178] Re: MailHost overrides explicitly set 'From' header in the message text.

Alec Mitchell 965178 at bugs.launchpad.net
Tue Mar 27 15:12:42 UTC 2012


My recollection is that the prior implementation of MailHost.send
overrode the header, and so I preserved that behavior despite some
reservations about it (hence the XXX).  This patch is simple enough,
adds a useful feature and is unlikely to trigger any errors.  If the
tests are updated as well, then it should be fine to commit it.

It seems like the worst case scenario would be one where a message
template with a generic From header was included, and where the
application intended the from passed into send() to override that
generic header in addition to being used for the envelope.  That would
result in a message with an unexpected from address, but should probably
not cause any delivery problems or other serious errors.

-- 
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/965178

Title:
  MailHost overrides explicitly set 'From' header in the message text.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zope2/+bug/965178/+subscriptions


More information about the zope2-tracker mailing list