You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2015-05-11.16:13:11.590>created_at=<Date2014-06-17.19:30:01.412>labels= ['type-feature', 'expert-email']
title='smtpd.SMTPServer should announce 8BITMIME when supported and accept SMTPUTF8 without it'updated_at=<Date2015-05-11.16:13:11.589>user='https://github.com/zvyn'
The smtpd.SMTPServer does support 8BITMIME if decode_date is False (bpo-19662) and could be announced under this condition. The patch for bpo-21725 already implements 8BITMIME so this can easily be done afterwards.
The proposed patch extends process_message with an **kwargs catch-all which is filled with 'mail_options' and 'rcpt_options' if decode_data is False. I also removed process_smtputf8_message as one can detect the need for supporting SMTPUTF8 from kwargs['mail_options'] now.
8BITMIE is accepted if decode_data=False and SMTPUTF8 is accepted if enable_SMTPUTF8=True (which implies decode_data=False).