SMTP Client - amount of bytes send out of attached files.
-
Hi, using the smtpclient.SendAsync method, I want to know how much byte (or the percentage) has been sent out of total bytes. I didn't found a way to get status information from the client. Is there another way (for example over the sockets interface) to retrieve these missing information if yes, how ? Thank you for your time Frank
-
Hi, using the smtpclient.SendAsync method, I want to know how much byte (or the percentage) has been sent out of total bytes. I didn't found a way to get status information from the client. Is there another way (for example over the sockets interface) to retrieve these missing information if yes, how ? Thank you for your time Frank
The SmtpClient doesn't report any progress information, so you cannot do what you want using the SmtpClient class. You'll either have to find a 3rd party library that does what you want or write your own SmtpClient class.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
The SmtpClient doesn't report any progress information, so you cannot do what you want using the SmtpClient class. You'll either have to find a 3rd party library that does what you want or write your own SmtpClient class.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
Thank you Dave, what you say I already know. But please say where to get these process information and how. Solutions ? Frank
-
Hi, using the smtpclient.SendAsync method, I want to know how much byte (or the percentage) has been sent out of total bytes. I didn't found a way to get status information from the client. Is there another way (for example over the sockets interface) to retrieve these missing information if yes, how ? Thank you for your time Frank
http://james.apache.org/server/rfclist/smtp/rfc0821.txt[^]
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane