Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 03, 2012 08:15 PM by Horizon_Net
Feb 29, 2012 01:03 AM|LINK
My contact page uses an update panel and the System.Net.Mail namespace to send a message. It seems to work fine.
I read about starting a new thread for the email capability. I think the rational was to not tie up the application thread if there's an issue with the email. It was an interesting idea.
Does anyone recommend, or not recommend, starting a new thread for an email being sent from a site?
Feb 29, 2012 07:03 AM|LINK
I think this also takes into account the number of e-mails that need to be sent. For e-mailing a couple of people, I've never started another thread. Of course, in any case, you'll need to foresee the necessary exception handling.
Mar 03, 2012 06:08 PM|LINK
I think your correct. The new thread was used to email a list of people for a news letter. A new thread makes sense in this type of situation.
I probably won't wory about it for my contact page since only one email will be submitted at a time.
Mar 03, 2012 08:15 PM|LINK
like said, if you just want to send an email to a couple of people you shouldn't start a new thread. If you want to send some more emails I would recommend to do that with a windows service if you can.