Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
email.mime.text.MIMETextを使用して作成し、 を使用して送信している電子メールに DKIM で署名するにはどうすればよいsmtplibですか?
email.mime.text.MIMEText
smtplib
あなたはそうしない。この署名を追加するのは、メール サーバーの仕事です。
私はあなたが使用できると思います:
import skim sign = dkim.sign(msg.as_string(),'key', 'domain.com', private_key)
(ただし、機能していません。理由はわかりません)