zopefoundation / Products.MailHost

zope.sendmail integration for Zope.
Other
2 stars 7 forks source link

Impossible to set BCC/header parsing to create mto variable in `send()` fails in general #1

Open do3cc opened 9 years ago

do3cc commented 9 years ago

If one uses the send() method with the variable mto set, the BCC header field is silently discarded. If mone does not set the variable mto, mungeHeaders tries to extract the recipients by iterating over the header fields to cc and bcc. https://github.com/zopefoundation/Products.MailHost/blob/master/src/Products/MailHost/MailHost.py#L445 This fails because get_all returns Header objects or something and the code here expects strings.

ale-rt commented 4 years ago

Valid also for CC headers