[zope2-tracker] [Bug 965178] Re: MailHost overrides explicitly set 'From' header in the message text.
Myroslav Opyr
myroslav at quintagroup.com
Tue Mar 27 15:25:39 UTC 2012
The change can potentially break some Gmail (or other MUA) filters that
relied on From header to be overwritten by send(). We'll update the patch
with version that has test corrected to take the changed behavior into
account. We'll possibly extend the dummy object to record envelope records
and will test if these envelope records are still correct.
On Tue, Mar 27, 2012 at 18:12, Alec Mitchell
<965178 at bugs.launchpad.net>wrote:
> 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 subscribed to the bug
> report.
> 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
>
--
.....................................................................................................
Myroslav Opyr ▪ CTO ▪ Quintagroup ▪ http://quintagroup.com
˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
--
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