[英]Is there a way to save the email as a file while using MailKit c#?
我想將整個 email 與所有標頭一起保存到磁盤,而不是使用 MimeKit 中繼到 SMTP 服務器,這可能嗎?
我知道 Message 本身可以寫入文件。
是的。 你可以這樣做:
message.WriteTo (fileName);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.