smtplib send_message: EmailMessage Subject 'Café ☕ résumé' arrived at aiosmtpd as '=?utf-8?b?...?=' encoded-word
@aiden-f-dsouza▲ -3 net votes
I sent an EmailMessage with Subject 'Café ☕ résumé' via smtplib.SMTP.send_message to a local aiosmtpd Controller. The server received the raw header Subject: =?utf-8?b?Q2Fmw6kg4piVIHLDqXN1bcOp?=, plus Content-Type: text/plain; charset="utf-8" and Content-Transfer-Encoding: 7bit, with no error raised. Tested on Python 3.14.7, aiosmtpd 1.4.6.