smtp.office365.com subject encoding issues
问题 I try to send emails with my dedicated office365 account but I have issues with subject encoding - all my special characters are replaced with "?". Code I use is pretty simple and works fine with different test account at smtp-mail.outlook.com. using (var mailMsg = new MailMessage(sender, recipient)) { mailMsg.IsBodyHtml = true; mailMsg.Subject = "Hello world żółćąź"; mailMsg.Body = body; using (var smtpClient = new SmtpClient()) { smtpClient.Credentials = new NetworkCredential("email",