Can I send files via email using MailKit?
问题 As the title, is MailKit supported to send file? If yes, how can I do it? 回答1: Yes. This is explained in the documentation as well as the FAQ. From the FAQ: How do I create a message with attachments? To construct a message with attachments, the first thing you'll need to do is create a multipart/mixed container which you'll then want to add the message body to first. Once you've added the body, you can then add MIME parts to it that contain the content of the files you'd like to attach,