Sending email from asp.net 3.5 using vb.net
<p>Dim mail As New MailMessage</p>

<pre><code>    Mail.Subject = CtxtMessage.Text
    Mail.To.Add("admin@gmail.com")
    Mail.From = New MailAddress("abcd@gmail.com")
    Mail.Body = "good work"

    Dim smtp As New SmtpClient("smtp.gmail.com")
    smtp.EnableSsl = True   'Secured conn
    smtp.Credentials = New System.Net.NetworkCredential("abcd@gmail.com", "") 'authentication of sender
    smtp.Port = "587"       'port no for sending
    smtp.Send(Mail)
</code></pre>

<p>Using this only gmail users can send the mails to admin.. But what do i need to add so that yahoo or any other users can send mail to admin?</p>
