I'm try save attachments from message
foreach(MimeKit.MimeEntity at message.Attachments)
{
at.WriteTo("nameFile");
}
File saved, but when I open I get the error
the file is corrupted or too large
The size of this file is 88 kb, but size of the file should be equal to 55 kb.
I think that in all recorded message file.
How do I only record the attachment?
MailKit v1.2.0.0 MimeKit 1.2.0.0
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…