SMTP server name settings
<p>Hello my smart friends i have this contact form that i am working on. I want visitors to send me email through the form. I am using godaddy as my web hoster. From the below code can someone help me how to setup  SMTP using godaddy so i can receive emails from users on my site? I tried to use it on my local computer but i don't know how to go about.
The code is below:
Please can u describe me this line of codes :<code>Dim mailServerName As String = "SMTP.MyDomain.com"</code>  AND</p>

<p><code>(from, "onfire4godcollins@gmail.com", "feedback", body)</code></p>

<pre><code>Imports System.Net.Mail


Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub CustomValidator1_ServerValidate(ByVal source As Object, ByVal args As System.Web.UI.WebControls.ServerValidateEventArgs) Handles CustomValidator1.ServerValidate
        If txtComments.Text.Length &gt; 300 Then
            args.IsValid = False
        Else
            args.IsValid = True
        End If
    End Sub

    Protected Sub Wizard1_FinishButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.FinishButtonClick
        SendMail(txtEmail.Text, txtComments.Text)
    End Sub

    Private Sub SendMail(ByVal from As String, ByVal body As String)
        Dim mailServerName As String = "SMTP.MyDomain.com"
        Dim message As MailMessage = New MailMessage(from, "onfire4godcollins@gmail.com", "feedback", body)
        Dim mailClient As SmtpClient = New SmtpClient

        mailClient.Host = mailServerName
        mailClient.Send(message)
        message.Dispose()
    End Sub
End Class
</code></pre>

<p>Thank u very much</p>
