<?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>Getting Started</title><link>http://forums.asp.net/15.aspx</link><description>The perfect forum for ASP.NET novices. No question too simple! &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=21&amp;amp;c=17" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/3111734.aspx</link><pubDate>Wed, 22 Apr 2009 23:12:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3111734</guid><dc:creator>ScriptStudios</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3111734.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3111734</wfw:commentRss><description>&lt;p&gt;Godaddy totally screwed up my estimated time.&amp;nbsp; /shakes_fists&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is the definitive guide on how to work with the Godaddy moron brigade:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;System.Web.Mail.MailMessage errMail = new System.Web.Mail.MailMessage();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder str = new StringBuilder();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errMail.From = &amp;quot; from email goes here&amp;nbsp; I created a 2nd email on the hosted site just for this&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errMail.To = &amp;quot;to email goes here&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errMail.Subject = &amp;quot;subject line here&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errMail.BodyFormat = MailFormat.Html;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(&amp;quot;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Name&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(name + &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(&amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Email&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(email + &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(&amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Phone&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(phone + &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(&amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Comments&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(comments + &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(&amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Refered by&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Append(reference + &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errMail.Body = str.ToString();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;SmtpMail.SmtpServer = &amp;quot;relay-hosting.secureserver.net&amp;quot;;&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SmtpMail.Send(errMail);&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/2972682.aspx</link><pubDate>Sat, 28 Feb 2009 06:09:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2972682</guid><dc:creator>allen_Ardmore_Technology</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2972682.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2972682</wfw:commentRss><description>&lt;p&gt;I just ran into this problem. In your email settings for godaddy.com, use these values:&lt;/p&gt;
&lt;p&gt;Email Server: relay-hosting.secureserver.net &lt;/p&gt;
&lt;p&gt;Port: 25&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/2923845.aspx</link><pubDate>Sat, 07 Feb 2009 13:44:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2923845</guid><dc:creator>moojjoo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2923845.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2923845</wfw:commentRss><description>&lt;p&gt;What Integrated Development Environment&amp;nbsp;(IDE)&amp;nbsp;are you using?&amp;nbsp; Visual Studio 2005?&lt;/p&gt;
&lt;p&gt;If so, after you create your Web form click on the button you created to submit the form.&amp;nbsp; This will bring up the .cs code behind.&amp;nbsp; That is where the code resides.&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/2922490.aspx</link><pubDate>Fri, 06 Feb 2009 20:18:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2922490</guid><dc:creator>mhh12</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2922490.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2922490</wfw:commentRss><description>&lt;p&gt;I am also using GoDaddy. That is very nice code, but where does it go? What web page, or script or what?&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/2901612.aspx</link><pubDate>Thu, 29 Jan 2009 17:43:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2901612</guid><dc:creator>xb90</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2901612.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2901612</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;smunir786:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;pre&gt;NOTE: make sure in &amp;quot;&lt;b&gt;from address&lt;/b&gt;&amp;quot; you put your own domain email address which you may have register with GoDaddy &lt;br /&gt;otherwise it wouldn&amp;#39;t work.&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Just a comment on the importance of what you put in the &amp;quot;&lt;b&gt;from address&lt;/b&gt;&amp;quot;&amp;nbsp; - GoDaddy will block outgoing email where the &amp;quot;FROM&amp;quot; address specifies any of the popular free email services; e.g. Yahoo, Gmail, Hotmail, AOL.... &lt;/p&gt;&lt;p&gt;&amp;nbsp;as Sajeel recommends,&amp;nbsp; the safe thing to do is use a GoDaddy-hosted email account in your &amp;quot;FROM&amp;quot; address field.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/2901579.aspx</link><pubDate>Thu, 29 Jan 2009 17:28:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2901579</guid><dc:creator>smunir786</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2901579.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2901579</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;In order to sending an email on GoDaddy.com (SMTP Relay Server), do the following:&amp;nbsp;
&lt;/p&gt;&lt;pre&gt;&lt;code&gt;// create mail message object&lt;br /&gt;MailMessage mail = new MailMessage();&lt;br /&gt;mail.From = &amp;quot;&lt;b&gt;your@domainname.com&lt;/b&gt;&amp;quot;;  // put the from address here&lt;br /&gt;mail.To = &amp;quot;&amp;quot;;             // put to address here&lt;br /&gt;mail.Subject = &amp;quot;&amp;quot;;        // put subject here	&lt;br /&gt;mail.Body = &amp;quot;&amp;quot;;           // put body of email here&lt;br /&gt;SmtpMail.SmtpServer = &amp;quot;&amp;quot;; // put smtp server you will use here &lt;br /&gt;// and then send the mail&lt;br /&gt;SmtpMail.Send(mail);&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;NOTE: make sure in &amp;quot;&lt;b&gt;from address&lt;/b&gt;&amp;quot; you put your own domain email address which you may have register with GoDaddy &lt;br /&gt;otherwise it wouldn&amp;#39;t work.&lt;/pre&gt;&lt;pre&gt;Regards,&lt;br /&gt;Sajeel &lt;img src="http://forums.asp.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;br /&gt;&lt;a href="http://www.prepareuktest.co.uk/%20" title="Life in the UK Test" target="_blank"&gt;http://www.prepareuktest.co.uk/ &lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/2789807.aspx</link><pubDate>Sat, 06 Dec 2008 08:53:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2789807</guid><dc:creator>codemobile</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2789807.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2789807</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;please tell me the solution for this problem. &lt;/p&gt;&lt;p&gt;thanks in advance.&amp;nbsp;&lt;img src="http://forums.asp.net/emoticons/emotion-7.gif" alt="Tongue Tied" /&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/2579532.aspx</link><pubDate>Mon, 25 Aug 2008 22:57:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2579532</guid><dc:creator>goplu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2579532.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2579532</wfw:commentRss><description>&lt;p&gt;This worked for me too. I was very worried about it.&amp;nbsp;Many thanks for the info. &lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/2541756.aspx</link><pubDate>Thu, 07 Aug 2008 01:36:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2541756</guid><dc:creator>kriskishi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2541756.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2541756</wfw:commentRss><description>&lt;p&gt;It worked for me with the credentials and adding the code snippet below.&lt;/p&gt;&lt;p&gt;Smtp : relay-hosting.secureserver.net&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;br /&gt;Port : 25 &lt;/p&gt;&lt;p&gt;changed smtp.EnableSsl = &lt;span class="kwd"&gt;&lt;font color="#0000ff"&gt;True&amp;nbsp;&lt;font color="#000000"&gt;to smtp.EnableSsl = &lt;/font&gt;&lt;span class="kwd"&gt;False&lt;/span&gt;&lt;/font&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;I end up with working solution. &lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/2023013.aspx</link><pubDate>Fri, 23 Nov 2007 22:46:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2023013</guid><dc:creator>wph101larrya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2023013.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2023013</wfw:commentRss><description>&lt;p&gt;The problem is the port number.&amp;nbsp; Sending mail to &lt;a href="mailto:user1@myDomain.com"&gt;user1@myDomain.com&lt;/a&gt; from the site myDomain.com works on port 25.&amp;nbsp; But when you send to an outside domain you must have the port assigned by the ISP (GoDaddy) for this purpose.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have my site set to use my DNS setting for my SMTP server at GoDaddy.&amp;nbsp; Digging around in their documentation I found that for &amp;quot;authenticated&amp;quot; relay of email requires that you use port 3535 as the SMTP port.&amp;nbsp; So if you set up your site with the SMTP settings use these ports instead of 25.&lt;/p&gt;
&lt;p&gt;(Network Solutions uses 2525, hotmail 9595)...&lt;/p&gt;
&lt;p&gt;Larry Aultman&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/1997566.aspx</link><pubDate>Fri, 09 Nov 2007 00:37:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1997566</guid><dc:creator>xb90</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1997566.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1997566</wfw:commentRss><description>&lt;p&gt;&lt;i&gt;Like others, sending mail was working fine for me using the old .Net 1.1 methods&amp;nbsp;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;Using information from this message thread, the following code worked for me without any problems:&amp;nbsp;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;b&gt;Environment: (.NET 2.0 on Godaddy-hosted site) &lt;/b&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;i&gt;&amp;quot;Code Behind&amp;quot; the form here :&amp;nbsp;&lt;/i&gt;&lt;/pre&gt;&lt;blockquote&gt;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;Imports&lt;/span&gt; System.Net.Mail&lt;br /&gt;&lt;br /&gt;Partial &lt;span class="kwd"&gt;Class&lt;/span&gt; emailtest&lt;br /&gt;    &lt;span class="kwd"&gt;Inherits&lt;/span&gt; System.Web.UI.Page&lt;br /&gt;&lt;br /&gt;    &lt;span class="kwd"&gt;Protected Sub&lt;/span&gt; btnSend_Click(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.EventArgs) &lt;span class="kwd"&gt;Handles&lt;/span&gt; btnSend.Click&lt;br /&gt;&lt;br /&gt;        &lt;span class="kwd"&gt;Dim&lt;/span&gt; mailClient &lt;span class="kwd"&gt;As New&lt;/span&gt; SmtpClient()&lt;br /&gt;        &lt;span class="kwd"&gt;Dim&lt;/span&gt; mailMessage &lt;span class="kwd"&gt;As New&lt;/span&gt; MailMessage()&lt;br /&gt;&lt;br /&gt;        &lt;span class="kwd"&gt;Try&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;            mailClient.Host = &lt;span class="st"&gt;&amp;quot;relay-hosting.secureserver.net&amp;quot;&lt;/span&gt;&lt;br /&gt;            mailClient.DeliveryMethod = SmtpDeliveryMethod.Network&lt;br /&gt;&lt;br /&gt;            mailClient.Port = 25&lt;br /&gt;            mailMessage.From = &lt;span class="kwd"&gt;New&lt;/span&gt; MailAddress(txtFromAddr.Text, txtFrom.Text)&lt;br /&gt;&lt;br /&gt;            &lt;span class="kwd"&gt;Dim&lt;/span&gt; ccList() &lt;span class="kwd"&gt;As String&lt;/span&gt; = txtCC.Text.Split(&lt;span class="st"&gt;&amp;quot;,&amp;quot;&lt;/span&gt;)&lt;br /&gt;            &lt;span class="kwd"&gt;For Each&lt;/span&gt; cc &lt;span class="kwd"&gt;As String In&lt;/span&gt; ccList&lt;br /&gt;                &lt;span class="kwd"&gt;If&lt;/span&gt; cc.Trim &amp;lt;&amp;gt; &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt; &lt;span class="kwd"&gt;Then&lt;/span&gt;&lt;br /&gt;                    mailMessage.CC.Add(&lt;span class="kwd"&gt;New&lt;/span&gt; MailAddress(cc))&lt;br /&gt;                &lt;span class="kwd"&gt;End If&lt;br /&gt;            Next&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;            mailMessage.&lt;span class="kwd"&gt;To&lt;/span&gt;.Add(&lt;span class="kwd"&gt;New&lt;/span&gt; MailAddress(txtTo.Text))&lt;br /&gt;            mailMessage.Subject = &lt;span class="st"&gt;&amp;quot;TESTING 1, 2, 3&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;            mailMessage.IsBodyHtml = &lt;span class="kwd"&gt;True&lt;/span&gt;&lt;br /&gt;            mailMessage.Body = &lt;span class="st"&gt;&amp;quot;&amp;lt;pre&amp;gt;this is a test&amp;lt;/pre&amp;gt;&amp;quot;&lt;/span&gt;&lt;br /&gt;            mailClient.Send(mailMessage)&lt;br /&gt;&lt;br /&gt;            lblStatus.Text = &lt;span class="st"&gt;&amp;quot;Email Successfully Sent&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span class="kwd"&gt;Catch&lt;/span&gt; ex &lt;span class="kwd"&gt;As&lt;/span&gt; Exception&lt;br /&gt;            lblStatus.Text = &lt;span class="st"&gt;&amp;quot;Send Email Failed. &amp;quot;&lt;/span&gt; + ex.Message&lt;br /&gt;&lt;br /&gt;        &lt;span class="kwd"&gt;End Try&lt;br /&gt;&lt;br /&gt;    End Sub&lt;br /&gt;End Class&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&amp;nbsp;&lt;br /&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/1995098.aspx</link><pubDate>Wed, 07 Nov 2007 19:47:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1995098</guid><dc:creator>wph101larrya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1995098.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1995098</wfw:commentRss><description>&lt;p&gt;I am having a similar problem as the rest of you. I have a CMS package built entirely in .NET 3.5 and includes the System.Net.Mail classes.&amp;nbsp; I have my own netMail class that I use in the application for the ContactUs and other corrospondences in the application.&lt;/p&gt;
&lt;p&gt;In my web.config I have my smtpconfig set to the DNS smtp server used by the customer. In the database I have the credentials for the customer.&amp;nbsp; Some of my customers use their own email servers from various vendors, some use services like Gmail or hotmail.&amp;nbsp; Finally some use their domain registrars servers, Network Solutions and GoDaddy.&lt;/p&gt;
&lt;p&gt;Of all these GoDaddy is the only one that I have trouble with.&lt;/p&gt;
&lt;p&gt;My netMail class is configured to use an account name in the GoDaddy email service. I have a DNS entry for SMTP in the domain.&amp;nbsp; My netMail class works perfectly as it does with all the others mentioned above.&lt;/p&gt;
&lt;p&gt;Recently we implemented the new Membership classes in .NET 3.5 to take advantage of WebParts and SharePoint services.&amp;nbsp; As most know the .NET framework included controls that simplify the coding of mundane things like login, password recovery, and things like this.&amp;nbsp; To make these work requires that IIS be setup with SMTP settings on the site using the Membership classes.&lt;/p&gt;
&lt;p&gt;Interestingly I have two clients sites in staging for deployment, one uses email via Network Solutions the other is GoDaddy.&amp;nbsp; I have set up accounts in both services and DNS smtp records in both. I set up IIS SMTP respectively to both services. Both use my netMail class to their respective email accounts in the services and both work as expected.&amp;nbsp; However the email sent from the IIS/.NET Membership classes is accepted by Network Solutions and rejected by GoDaddy.&lt;/p&gt;
&lt;p&gt;Trace logs show that both my netMail class and .Net Membership classes call the same .NET Mail classes (System.Net.Mail) to do the heavy lifting.&lt;/p&gt;
&lt;p&gt;One works and one doesn&amp;#39;t.&amp;nbsp; Beats the _____ out of me why. It works everywhere except on GoDaddy and even there it works halfway.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any guesses?&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/1743958.aspx</link><pubDate>Thu, 07 Jun 2007 14:57:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1743958</guid><dc:creator>raysql1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1743958.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1743958</wfw:commentRss><description>&lt;p&gt;Sorry, it was my bad, I was trying to run it from my local machine, once I published it the feed back form worked perfectly fine.&lt;/p&gt;
&lt;p&gt;Thanks!! &lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/1743707.aspx</link><pubDate>Thu, 07 Jun 2007 13:05:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1743707</guid><dc:creator>smiling4ever</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1743707.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1743707</wfw:commentRss><description>&lt;p&gt;Again, you need to authenticate before sending emails.&lt;/p&gt;&lt;p&gt;Are you using ASP.NET 2.0 or 1.1?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem with System.Net.Mail on GoDaddy</title><link>http://forums.asp.net/thread/1741933.aspx</link><pubDate>Wed, 06 Jun 2007 14:31:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1741933</guid><dc:creator>raysql1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1741933.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1741933</wfw:commentRss><description>&lt;p&gt;Hello, I am having the same problem, I tried using the code you have posted above but I get the following error message. This is my first time using this forum so if this question has already been asked please forgive the redundancy.&lt;/p&gt;
&lt;p&gt;Mailbox name not allowed. The server response was: sorry, relaying denied from your location [68.210.0.86] (#5.7.1) &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;raysql1&lt;/p&gt;</description></item></channel></rss>