Click here to Skip to main content
15,922,533 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi ,

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

I want update my progress bar.

Please help
Posted

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900