<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:] Create a "Contact Us" Page?</title><link>http://asp.net</link><pubDate>Sun, 18 Jan 2009 11:17:58 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] Create a "Contact Us" Page?</description><language>en</language><atom:link href="http://asp.net/rss/comments/33454" rel="self" type="application/rss+xml" /><item><title>Comment Posted by huuson</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Mon, 14 Apr 2008 14:01:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004327</guid><description><![CDATA[ <p>In this video, i see you can send email in localhost.</p> <p>private void SendMail(string from, string body)</p> <p> &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160;string mailServerName = &quot;SMTP.MyDomain.com&quot;;</p> <p> &#160; &#160; &#160; &#160;MailMessage message = new MailMessage(from, &quot;scott@vertigosoftware.com&quot;, &quot;feedback&quot;, body);</p> <p> &#160; &#160; &#160; &#160;SmtpClient mailClient = new SmtpClient();</p> <p> &#160; &#160; &#160; &#160;mailClient.Host = mailServerName;</p> <p> &#160; &#160; &#160; &#160;mailClient.Send(message);</p> <p> &#160; &#160; &#160; &#160;message.Dispose();</p> <p> &#160; &#160;}</p> <p>On my computer,How do I rewrite that code ?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/huuson.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Matt3.5</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Wed, 16 Apr 2008 05:35:52 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004328</guid><description><![CDATA[ <p>I suggest you visit a site called 4guysfromrolla.com</p> <p>There you will find several, well written articles, showing you in detail how to send basic - complex emails using the system.net.mail class. The author is Scott Mitchell, a well respected MVP.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Matt3.5.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cemakpolat</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Mon, 21 Apr 2008 04:00:08 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004329</guid><description><![CDATA[ <p>i can&#39;t download this video and the others,also i can&#39;t watch it.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/cemakpolat.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Diego Vieira</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Fri, 23 May 2008 15:49:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004330</guid><description><![CDATA[ <p>cemakpolat, you just have to click the &quot;Download the video&quot; link and save it to your desktop. To watch the video you can download a codec pack from the internet. Just do a search for &quot;codec pack&quot;.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Diego%20Vieira.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Diego Vieira</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Mon, 26 May 2008 13:13:33 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004331</guid><description><![CDATA[ <p>Argh.. zip is corrupted.. please fix</p> <p>&lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://download.microsoft.com/download/5/E/B/5EBF4D5A-8B55-482A-A322-675EED8B7F45/hilo_contact_final.zip&quot;&gt;download.microsoft.com/.../hilo_contact_final.zip&lt;/a&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Diego%20Vieira.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cinstress2</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Sun, 01 Jun 2008 15:36:52 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004332</guid><description><![CDATA[ <p>How do you get all the data to email.</p> <p>the code from the example says</p> <p>Protected Sub Wizard1_FinishButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.FinishButtonClick</p> <p> &#160; &#160; &#160; &#160;SendMail(txtEmail.Text, txtComments.Text)</p> <p> &#160; &#160;End Sub</p> <p>How do you get the ratings and person&#39;s name to show up.</p> <p>I tried adding these in the SendMail area... but it only allows two items. &#160;How do you get all the fields to appear in the email that is sent to you?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/cinstress2.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikaelKP</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Wed, 04 Jun 2008 12:19:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004333</guid><description><![CDATA[ <p>Use</p> <p>Protected Sub Wizard1_FinishButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.FinishButtonClick</p> <p> &#160; &#160; &#160; SendMail(txtEmail.Text, txtComments.Text, txtName.Text)</p> <p> &#160; End Sub</p> <p>You can fill all the txtSomthing.Text as you want</p> <p>I have no problem with this method:)</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mikaelKP.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cburts</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Sun, 22 Jun 2008 05:53:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004338</guid><description><![CDATA[ <p>Hello,</p> <p>I copied the code and config file into a new Asp.Net 3.5 website I created in VB Web Developer Express 2008 and I get an Operation has timed out error after I click the Finish button (takes a long time). &#160;Source error: Line 16 mailClient.Send(message)</p> <p>Stack Trace: </p> <p> [SmtpException: The operation has timed out.]</p> <p> &#160; System.Net.Mail.SmtpClient.Send(MailMessage message) +1948</p> <p> &#160; _Default.SendMail(String from, String body) in C:\Users\websitepath\Default.aspx.vb:16</p> <p> &#160; _Default.Wizard1_FinishButtonClick(Object sender, WizardNavigationEventArgs e) in C:\Users\websitepath\Default.aspx.vb:8</p> <p> &#160; System.Web.UI.WebControls.Wizard.OnFinishButtonClick(Wizard NavigationEventArgs e) +105</p> <p> &#160; System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +693</p> <p> &#160; System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Ob ject source, EventArgs args) +17</p> <p> &#160; System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35</p> <p> &#160; System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115</p> <p> &#160; System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163</p> <p> &#160; System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEve ntHandler.RaisePostBackEvent(String eventArgument) +7</p> <p> &#160; System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11</p> <p> &#160; System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33</p> <p> &#160; System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/cburts.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by David007</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Sun, 22 Jun 2008 08:13:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004339</guid><description><![CDATA[ <p>Hi,</p> <p>I did this with VS2005 and used &quot;localhost&quot;. I moved it to 2003 server and works great. I would like to populate the &quot;Summary&quot; section. I&#39;ve never used the wizzard before.</p> <p>Please show me how to populate 1 label and I will take it from there !</p> <p>Thank You in Advance</p> <p>David007</p> <p>PS- Love the videos !</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/David007.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by dollu</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Mon, 14 Jul 2008 15:16:03 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004343</guid><description><![CDATA[ <p>I am getting following error while coding the last page.. Can you help me understand where am I wrong?? </p> <p>The rest of the code is working finr, since I checked it after very next step..</p> <p>_________________________________________________________</p> <p>Compilation Error </p> <p>Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. </p> <p>Compiler Error Message: BC30203: Identifier expected.</p> <p>Source Error:</p> <p>Line 35: &#160; &#160; Private Sub SendMail(ByVal from As String, ByVal body As String)</p> <p>Line 36: &#160; &#160; &#160; &#160; Dim mailServerName As String = &quot;mail.yahoo.com&quot;</p> <p>Line 37:  Dim message As MailMessage = New MailMessage(from. &quot;hi_dollu@yahoo.com&quot;. &quot;feedback&quot;.body)</p> <p>Line 38: &#160; &#160; &#160; &#160; Dim mailClient As SmtpClient = New SmtpClient</p> <p>Line 39: </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/dollu.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by brooxy28</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Mon, 14 Jul 2008 21:59:40 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004344</guid><description><![CDATA[ <p>Aboriginals.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/brooxy28.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by nickchen88</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Tue, 29 Jul 2008 07:00:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004345</guid><description><![CDATA[ <p>How do i populate the the summary section. its not show in the video...pls help</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/nickchen88.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Fri, 08 Aug 2008 11:10:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004346</guid><description><![CDATA[ <p>Very good video...thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by johncarerra</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Tue, 26 Aug 2008 20:26:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004347</guid><description><![CDATA[ <p>why i see blank black screen after you show you got an email..</p> <p>btw thanx hope can get full version of it </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/johncarerra.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tmorton</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Wed, 27 Aug 2008 14:23:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004348</guid><description><![CDATA[ <p>The .zip file does not seem corrupted to me. &#160;I was able to download it, extract the .wmv file, and watch it in Windows Media Player 11.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/tmorton.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by khmohsin</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Thu, 18 Sep 2008 09:05:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004349</guid><description><![CDATA[ <p>How do you get the ratings ,person&#39;s name and other custom fields information show up.</p> <p>I am unable to add them</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/khmohsin.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by nivlemnohj</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Mon, 29 Sep 2008 18:18:13 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004350</guid><description><![CDATA[ <p>Hi!</p> <p>How to authenticate username and password with specific smtp port?</p> <p>tnx</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/nivlemnohj.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by samuel24</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Tue, 30 Sep 2008 07:11:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004351</guid><description><![CDATA[ <p>good thanx @@@@@@@@</p> <p>great job!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/samuel24.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rajar32</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Fri, 24 Oct 2008 05:48:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004352</guid><description><![CDATA[ <p>awesome....</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/rajar32.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by djibril_chimere_DIAW</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Tue, 28 Oct 2008 06:14:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004353</guid><description><![CDATA[ <p>Thanks! J&#235;r&#235;j&#235;f!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/djibril_chimere_DIAW.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by klakieros</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Fri, 14 Nov 2008 05:04:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004354</guid><description><![CDATA[ <p>Guys,</p> <p>Great video - very helpful.</p> <p>I&#39;ve got one problem, the javascript in the code is not working with my browser... I even copied the code into new project and tried - nothing. I have checked that my browser is javascript enabled. It&#39;s IE 7.0.5730.13</p> <p>Any ideas?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/klakieros.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by dpschwartz</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Sun, 23 Nov 2008 15:49:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004355</guid><description><![CDATA[ <p>Great video - but like some other respondents, I&#39;d like to be able to include the text box entries (more than 2) and several checkboxes in the email. I started down the path of creating a giant string something like this:</p> <p>Dim MyBody As String</p> <p>MyBody = tbFirstName.Text &amp; tbLastName.Text &amp; vbCrLF &amp;</p> <p>tbEmail.Text &amp; vbCrLF &amp;</p> <p>cbReceiveEmail.whatproperty?? ...</p> <p>msgMail.Body = MyBody</p> <p>But, I get the error on each of these textboxes:</p> <p>&quot;Reference to a non-shared member requires an object reference&quot;</p> <p>and from there I am totally lost. How did everyone solve this problem of including many textboxes and checkboxes in the email? Am I anywhere near on the right track?</p> <p>Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/dpschwartz.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Nezdet</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Fri, 05 Dec 2008 01:38:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004334</guid><description><![CDATA[ <p>There is one bad thing about wizard.. It gets really slow when I have large steps.. </p> <p>Is there some way to make this faster???</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Nezdet.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by aesaif</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Tue, 16 Dec 2008 16:54:15 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004335</guid><description><![CDATA[ <p>i cant dowenload or watch the video .why??!!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/aesaif.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by voldy2</title><link>http://asp.net/web-forms/videos/how-do-i/how-do-i-create-a-contact-us-page</link><pubDate>Sun, 18 Jan 2009 11:17:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000004336</guid><description><![CDATA[ <p>I have uploaded the VB code in a live environment but when I upload the C# I&#39;m getting no error and no email received. All my smtp setting are exact in both code files. Any ideas? Cheers.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/voldy2.jpg?forceidenticon=false&amp;dt=635072178000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>