How to check amount of sent/received data in MailKit?
问题 I have a program in which I'm sending and receiving e-mails with large attachments. I'm using MailKit. I would like to get actual upload speed (or amount of already sent data) for each email. How can I get this? 回答1: There's no way to get 100% accurate upload/downloads speeds in MailKit, but MailKit does have APIs that take an ITransferProgress argument, such as the send method: http://www.mimekit.org/docs/html/Overload_MailKit_MailTransport_Send.htm You can implement your own