<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Forms</title><link>http://forums.asp.net/18.aspx</link><description>All about building ASP.NET Pages - server controls, events, validation, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1932714.aspx</link><pubDate>Fri, 28 Sep 2007 21:30:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1932714</guid><dc:creator>phantomlove</dc:creator><author>phantomlove</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1932714.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1932714</wfw:commentRss><description>&lt;p&gt;this works fine locally .. but when i tried hosting at &lt;a href="http://www.vwdhosting.net/"&gt;http://www.vwdhosting.net&lt;/a&gt;&amp;nbsp;i receive an error when sending mail! hope to find a solution&lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1747065.aspx</link><pubDate>Sat, 09 Jun 2007 18:26:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1747065</guid><dc:creator>victorantus</dc:creator><author>victorantus</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1747065.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1747065</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Found solution!&lt;/strong&gt;&lt;/p&gt;&amp;lt;&lt;font color="#800000" size="2"&gt;asp&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;font color="#800000" size="2"&gt;PasswordRecovery&lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;PasswordRecovery1&amp;quot;&lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;OnSendingMail&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;PasswordRecovery1_SendingMail&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;protected&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font color="#000000" size="2"&gt; PasswordRecovery1_SendingMail(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;font color="#000000" size="2"&gt; sender, &lt;/font&gt;&lt;font color="#008080" size="2"&gt;MailMessageEventArgs&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt; e)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;SmtpClient&lt;/font&gt;&lt;font size="2"&gt; smtpClient = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008080" size="2"&gt;SmtpClient&lt;/font&gt;&lt;font size="2"&gt;();&lt;/p&gt;smtpClient.EnableSsl = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;smtpClient.Send(e.Message);&lt;/p&gt;e.Cancel = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=163226&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=163226&amp;amp;SiteID=1&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1747052.aspx</link><pubDate>Sat, 09 Jun 2007 17:58:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1747052</guid><dc:creator>victorantus</dc:creator><author>victorantus</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1747052.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1747052</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I try to use smtp.gmail.com for passwordrecovery control and I get &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first f4sm7434685nfh...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I &lt;/strong&gt;think I need to enable somewhere &lt;strong&gt;ssl (&lt;font size="2"&gt;mailClient.EnableSsl = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/strong&gt;). Maybe in web.config?!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can somebody help me?&lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1684429.aspx</link><pubDate>Thu, 26 Apr 2007 22:24:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1684429</guid><dc:creator>Sonia25</dc:creator><author>Sonia25</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1684429.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1684429</wfw:commentRss><description>Never mined i was thinking of something else regarding sending mail on gmail account&amp;nbsp; .</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1682272.aspx</link><pubDate>Wed, 25 Apr 2007 21:47:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1682272</guid><dc:creator>Bruce L</dc:creator><author>Bruce L</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1682272.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1682272</wfw:commentRss><description>&lt;p&gt;Sonia,&lt;/p&gt;
&lt;p&gt;you lost me here.&amp;nbsp; What does this have to do w/ Gmail?&lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1681522.aspx</link><pubDate>Wed, 25 Apr 2007 13:39:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1681522</guid><dc:creator>Sonia25</dc:creator><author>Sonia25</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1681522.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1681522</wfw:commentRss><description>&lt;p&gt;Hi Bruce&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SMTP service property -&amp;gt; Delivery -&amp;gt; Outbound Security and make sure&lt;/strong&gt; TLS encryption is unchecked.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does&amp;nbsp; it applies to Gmail account too.Thanks&lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1583560.aspx</link><pubDate>Sat, 17 Feb 2007 18:29:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1583560</guid><dc:creator>Bruce L</dc:creator><author>Bruce L</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1583560.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1583560</wfw:commentRss><description>&lt;p&gt;if mail is in badmail folder, there some problem w/ the SMTP setup or the to address is bad.&lt;/p&gt;
&lt;p&gt;Anyway, the default log file location is at c:\windows\system32\logfiles&lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1583485.aspx</link><pubDate>Sat, 17 Feb 2007 16:36:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1583485</guid><dc:creator>amazingsunday</dc:creator><author>amazingsunday</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1583485.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1583485</wfw:commentRss><description>&lt;p&gt;&lt;em&gt;There's no email in C:\Inetpub\mailroot\Queue folder,but in Badmail .&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Sorry, I don't know where is the folder of smtp log .&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1582551.aspx</link><pubDate>Fri, 16 Feb 2007 19:02:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1582551</guid><dc:creator>Bruce L</dc:creator><author>Bruce L</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1582551.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1582551</wfw:commentRss><description>&lt;p&gt;OK.. this means that the SMTP server (localhost) accepted the email, which is good news because this no longer is an issue with your asp.net code but a server side problem.&lt;/p&gt;
&lt;p&gt;2 things to want to do to troubleshoot&lt;/p&gt;
&lt;p&gt;a) Check the SMTP queue to see if the email is there. default location: c:\inetpub\mailroot\queue&lt;/p&gt;
&lt;p&gt;b) Check the SMTP log to see why the email was not delivered.&amp;nbsp; Post the log if you have problem reading it.&lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1581515.aspx</link><pubDate>Fri, 16 Feb 2007 05:03:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1581515</guid><dc:creator>amazingsunday</dc:creator><author>amazingsunday</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1581515.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1581515</wfw:commentRss><description>&lt;p&gt;Yes,It's IIS SMTP service. It's already unchecked .&lt;/p&gt;
&lt;p&gt;By the way the error is gone and it shown Response.write("&lt;font color=#800000 size=2&gt;Successful sent&lt;/font&gt;"); but I didn't receive any mail in my Inbox, &lt;/p&gt;
&lt;p&gt;Do I need to do other stuff?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1581509.aspx</link><pubDate>Fri, 16 Feb 2007 04:54:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1581509</guid><dc:creator>amazingsunday</dc:creator><author>amazingsunday</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1581509.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1581509</wfw:commentRss><description>&lt;p&gt;&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://forums.asp.net/Themes/default/images/icon-quote.gif" /&gt; &lt;strong&gt;bluemistonline:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Is the SMTP service running on your computer? You need to install(its not by default) it to be able to send mail from your machine.&lt;/div&gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;Yes,I guess It's running. I can see Default Virtual SMTP Server in IIS control Panel. &lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1580931.aspx</link><pubDate>Thu, 15 Feb 2007 20:05:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1580931</guid><dc:creator>Bruce L</dc:creator><author>Bruce L</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1580931.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1580931</wfw:commentRss><description>&lt;p&gt;Nothing is wrong w/ the code from what i can see&lt;/p&gt;
&lt;p&gt;This error means that the SMTP server on the server housing IIS (localhost) is configured to require TLS encryption.&amp;nbsp; I am not sure what SMTP service you have installed on the server.&amp;nbsp; If it is IIS SMTP service, go to the SMTP service property -&amp;gt; Delivery -&amp;gt; Outbound Security and make sure TLS encryption is unchecked.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Re: SMTP Mail ?</title><link>http://forums.asp.net/thread/1580792.aspx</link><pubDate>Thu, 15 Feb 2007 18:38:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1580792</guid><dc:creator>bluemistonline</dc:creator><author>bluemistonline</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1580792.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1580792</wfw:commentRss><description>Is the SMTP service running on your computer? You need to install(its not by default) it to be able to send mail from your machine.</description></item><item><title>SMTP Mail ?</title><link>http://forums.asp.net/thread/1580731.aspx</link><pubDate>Thu, 15 Feb 2007 17:57:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1580731</guid><dc:creator>amazingsunday</dc:creator><author>amazingsunday</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1580731.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1580731</wfw:commentRss><description>&lt;p&gt;This question might be silly.&lt;/p&gt;
&lt;p&gt;I was searching other's threads about sending mail from asp.net and have been looking tutorials but still can't send it. &lt;/p&gt;
&lt;p&gt;The codes are&lt;/p&gt;
&lt;p&gt;MailAddress To = new MailAddress("&lt;a href="mailto:TowhereIwanttosend@somewhere.com"&gt;TowhereIwanttosend@somewhere.com&lt;/a&gt;");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MailAddress From = new MailAddress(&lt;a href="mailto:amazingsunday@sunday.com"&gt;amazingsunday@sunday.com&lt;/a&gt;); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MailMessage Mailer = new MailMessage(From, To);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mailer.Subject = "Testing";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mailer.Body = "Just Testing";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SmtpClient Client = new SmtpClient();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client.Host = "localhost";&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client.Send(Mailer);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write("Successful sent");&lt;/p&gt;
&lt;p&gt;And This is the error&lt;/p&gt;
&lt;p&gt;The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first i34sm4652534wxd &lt;/p&gt;
&lt;p&gt;What is wrong with the code? Maybe I'm not understanding what i'm doing .Will be appreciate if you help. &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>