<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[How Do I:] Send Email Asynchronously with ASP.NET</title><link>http://www.asp.net</link><pubDate>Thu, 11 Feb 2010 22:45:24 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] Send Email Asynchronously with ASP.NET</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33514" rel="self" type="application/rss+xml" /><item><title>Comment Posted by malcolms</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Fri, 26 Sep 2008 01:17:25 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006124</guid><description><![CDATA[ <p>Great video</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/malcolms.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by imchaz</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Fri, 26 Sep 2008 09:36:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006125</guid><description><![CDATA[ <p>Probably dumb question here. &#160;After watching it, what is the advantage of using this? &#160;Let me preface that I am new the terminology of Asynchronously. &#160;What is the difference of using just the mail object and using the basics?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/imchaz.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by MesfinReda</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Fri, 26 Sep 2008 15:09:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006126</guid><description><![CDATA[ <p>This video is posted at a right time when I am having a mail related issue. nothing complicated it just sends email on contact us page and I am having this problem.</p> <p>&lt;system.net&gt;</p> <p> &#160; &#160;&lt;mailSettings&gt;</p> <p> &#160; &#160; &#160;&lt;smtp&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;network host=&quot;smtp.menelikalumni.org&quot; port=&quot;25&quot; userName=&quot;email@domain.com&quot; password=&quot;password&quot; defaultCredentials=&quot;true&quot;/&gt;</p> <p> &#160; &#160; &#160;&lt;/smtp&gt;</p> <p> &#160; &#160;&lt;/mailSettings&gt;</p> <p> &#160;&lt;/system.net&gt;</p> <p>and i am getting this error</p> <p>Transaction failed. The server response was: 5.7.1 </p> <p>anyhelp would be appreciated.</p> <p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/MesfinReda.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by imchaz</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Fri, 26 Sep 2008 17:08:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006127</guid><description><![CDATA[ <p>MesfinReda,</p> <p>You should put that problem in the Forum area for someone to respond. It will give you better exposure in solving your problem.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/imchaz.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by MesfinReda</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Mon, 29 Sep 2008 11:51:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006128</guid><description><![CDATA[ <p>I get it to work.</p> <p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/MesfinReda.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by dkb</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Wed, 08 Oct 2008 23:32:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006129</guid><description><![CDATA[ <p>Hi Chris I can&#39;t thank you enough for this video. </p> <p>DKB</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/dkb.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by techiesridhar</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Thu, 09 Oct 2008 15:14:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006130</guid><description><![CDATA[ <p>HI Chris.I used to watch all the video avaliable in this page. Hats off to you man for doing such a nice job.. keep posting..</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/techiesridhar.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ashrafur</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Mon, 27 Oct 2008 05:51:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006131</guid><description><![CDATA[ <p>this video gives a very clear idea about how to send asynchronous mail using asp.net. </p> <p>I was also expecting some description on why we will send asynchronous main instead of synchronous. what are the benefits and so on.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ashrafur.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by shiawmeng</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Thu, 06 Nov 2008 12:40:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006132</guid><description><![CDATA[ <p>It&#39;s a good video ! help me a lot of problem. Thanks!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/shiawmeng.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by LinhMy</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Fri, 07 Nov 2008 21:07:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006133</guid><description><![CDATA[ <p>It&#39;s great! I can do my exercises..Thank you very much!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/LinhMy.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by izet</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Mon, 10 Nov 2008 15:26:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006134</guid><description><![CDATA[ <p>Great video.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/izet.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by abelanet</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Fri, 14 Nov 2008 18:36:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006136</guid><description><![CDATA[ <p>Simply Thanks :)</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/abelanet.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ramy ramadan</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Sat, 06 Dec 2008 07:00:56 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006137</guid><description><![CDATA[ <p>Thanks Chris Pels .</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ramy%20ramadan.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by SweFredd</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Fri, 12 Dec 2008 08:28:21 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006138</guid><description><![CDATA[ <p>I&#39;m new to building websites and ASP.NET. But i guess the idea with asynchronous email is that you don&#39;t need to wait for an answer if the mail was successful or not. That is handled by a event handler.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/SweFredd.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Cyberpess</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Sat, 13 Dec 2008 21:02:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006139</guid><description><![CDATA[ <p>Dont mean to burst your bubble, but this is not really sending an email asynchronously since your using it in a Web Context...Just using the SendAsync method does not make it asynchronously!</p> <p>Im looking for a way to actually not block when the sendasynch() method is called.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Cyberpess.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bohunt</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Fri, 13 Feb 2009 17:42:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006140</guid><description><![CDATA[ <p>Great video, thanks!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/bohunt.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Dora743</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Thu, 02 Jul 2009 08:49:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006141</guid><description><![CDATA[ <p>I can&#39;t Download the Code can any one tell why</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Dora743.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by prashu_sri</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Sat, 01 Aug 2009 20:26:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006142</guid><description><![CDATA[ <p>this code doesn&#39;t work for c#.... what the f***</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/prashu_sri.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kurtuhler</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Thu, 26 Nov 2009 20:41:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006143</guid><description><![CDATA[ <p>c# exception</p><p>System.Net.Mail.SmtpException: Failure sending mail. ---&gt; System.InvalidOperationException: Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event. at System.Web.AspNetSynchronizationContext.OperationStarted() at System.Net.Mail.SmtpClient.SendAsync(MailMessage message, Object userToken) --- End of inner exception stack trace --- at System.Net.Mail.SmtpClient.SendAsync(MailMessage message, Object userToken) at _Default.SendMail() in c:\Users\kurt\Websites\WebSiteCSharp\Default.aspx.cs:line 37 </p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/kurtuhler.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by samuel24</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Sat, 19 Dec 2009 17:20:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006144</guid><description><![CDATA[ <p>Hi Send email from asp.net is really simple and superb. try this</p><p>link </p><p><a rel="nofollow" href="http://dotnetpgm.blogspot.com/2009/09/how-to-send-email-in-aspnet-c.html" target="_blank">dotnetpgm.blogspot.com/</a></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/samuel24.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ravesoft</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Thu, 07 Jan 2010 01:36:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006145</guid><description><![CDATA[ <p>Hi</p><p></p><p>See here a great sample article to send email async mode.</p><p></p><p><a rel="nofollow" href="http://www.codegain.com/index.php?option=com_content&amp;view=article&amp;id=110:send-email-asynchronous-mode-using-c&amp;catid=62:miscellaneous" target="_blank">www.codegain.com/</a></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ravesoft.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ravesoft</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Thu, 07 Jan 2010 01:37:41 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006146</guid><description><![CDATA[ <p>Hi Samuel24,</p><p></p><p>We are talking about async mode email sending.your pointed blog is nothing.</p><p></p><p>thank you</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ravesoft.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ravesoft</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Thu, 07 Jan 2010 01:40:25 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006147</guid><description><![CDATA[ <p>Hi    kurtuhler,</p><p></p><p>to resolve this issue, you just add async=true in your page level.</p><p></p><p>thank you</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ravesoft.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ravesoft</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Thu, 07 Jan 2010 01:43:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006148</guid><description><![CDATA[ <p>Hi Chris Pels,</p><p></p><p>This sample not going to work,because when you are try to send async mode email in your asp.net you need enable the async=true in page level.</p><p></p><p>You have done nothing.</p><p></p><p>thank you</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ravesoft.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by filjan</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-send-email-asynchronously-with-aspnet</link><pubDate>Thu, 11 Feb 2010 22:45:24 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006149</guid><description><![CDATA[ <p>I pasted this code and it dasn&#39;t work. I added Async=&quot;True&quot;.I checked smtpout.secureserver.net Relay is on.How t fix it. </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/filjan.jpg?forceidenticon=false&amp;dt=635049121200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>