Show progressbar while sending email
-
Hi, How can I show progressbar while I am seinding email with attachment. When I send email with any attachment then I get only freezed window,insetead of this I want to show progressbar which will fill until email is sent. Regards
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.
-
Hi, How can I show progressbar while I am seinding email with attachment. When I send email with any attachment then I get only freezed window,insetead of this I want to show progressbar which will fill until email is sent. Regards
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.
Please explain your question more clearly. Are you interfacing directly using SMTP or you're using some thrid party library.
Excuse me for buttin' in, but I'm interrupt driven.
-
Hi, How can I show progressbar while I am seinding email with attachment. When I send email with any attachment then I get only freezed window,insetead of this I want to show progressbar which will fill until email is sent. Regards
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.
You have to put the email-sending code in a thread or BackgroundWorker object.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Please explain your question more clearly. Are you interfacing directly using SMTP or you're using some thrid party library.
Excuse me for buttin' in, but I'm interrupt driven.
If you're using standard framework class then use Send method or SendAsync to send an email. The SendAsync doesn't block the thread but you'll receive an event only when it will be finished. I think that you can only simulate the progress of sending message till you got a status event from Smtp.
-
Please explain your question more clearly. Are you interfacing directly using SMTP or you're using some thrid party library.
Excuse me for buttin' in, but I'm interrupt driven.
-
You have to put the email-sending code in a thread or BackgroundWorker object.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001Thanks for your relpy. I used component BackgroundWorker1 and it works prety cool. I have still one question. When I attach file with seize less then 300KB email is sending very slow! Where could be problem? Can I make it faster to send? Regards
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.
-
You have to put the email-sending code in a thread or BackgroundWorker object.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001hello send code c# Show progressbar while sending email