PROKA Posted December 9, 2008 Posted December 9, 2008 (edited) I am sending emails containing large attachments (~8 MB) and it takes more than 60 seconds to send the email. It cannot send the email and I get "The operation has timed out." is there a way to set unlimited timeout for sending emails? I'm using the MailMessage class in System.net.Mail Thanks. Edited December 9, 2008 by PROKA Quote Development & Research Department @ Elven Soft
Nate Bross Posted December 9, 2008 Posted December 9, 2008 http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.timeout.aspx is probably worth a read. Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
PROKA Posted December 9, 2008 Author Posted December 9, 2008 found this before you post it, tried it and still I get the same error :( Quote Development & Research Department @ Elven Soft
Nate Bross Posted December 9, 2008 Posted December 9, 2008 Can you post the code that is not working? Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.