如何获取smtp.Async()中发送的邮件数量 [英] how to get number of mails sent in smtp.Async()

查看:105
本文介绍了如何获取smtp.Async()中发送的邮件数量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





如何在C#中获取以smtp.SendAsync()发送的邮件数量。



我要更新我的进度条。



请帮助

Hi ,

how to get number of mails sending in smtp.SendAsync() in C#.

I want update my progress bar.

Please help

推荐答案

不可能。 SmtpClient类没有提供任何状态信息。



你可以提出的唯一进度条是正在发生的事情字幕,而不是完成百分比。
Not possible. The SmtpClient class doesn''t provide any state information like that.

The only "progress bar" you can put up is the "something is happening" marquee, not the percentage complete.


这篇关于如何获取smtp.Async()中发送的邮件数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆