i have receive email by gmail accounts but not receive other accounts like yahoo,hotmail etc in asp.net c#
<p>My Code Is:</p>

<pre><code>using System.Net.Mail;&lt;br/&gt;
using System.Net;&lt;br/&gt;
public partial class Index : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void home_btn_Click(object sender, ImageClickEventArgs e)
{
     MailMessage msg = new MailMessage();
     msg.From = new MailAddress(home_mail.Text);
     msg.To.Add(new MailAddress("ashwanirawat22@gmail.com"));
    //msg.CC.Add ( new MailAddress(txtcc.Text));
    //msg.Subject = txtSubject.Text;
    msg.Body = home_msg.Text;
    msg.IsBodyHtml = false;
    SmtpClient smtp = new SmtpClient();
    smtp.Host = "smtp.gmail.com";
    smtp.Credentials = new System.Net.NetworkCredential(home_mail.Text,home_pass.Text);
    label1.Visible = true;
    smtp.EnableSsl = true;
    try
    {
        smtp.Send(msg);
        label1.Text = "Email Send";

    }
    catch
    {
        label1.Text = "Email Failed";
    }
    home_msg.Text = "";
    home_mail.Text = "";
    home_pass.Text = "";
     }
}
</code></pre>

<p>Html Code is:</p>

<pre><code>Message: &lt;asp:TextBox ID="home_msg" Rows="5" Columns="45" TextMode="MultiLine"runat="server"&gt;
&lt;/asp:TextBox&gt;&lt;br/&gt;
From: &lt;asp:TextBox ID="home_mail"  runat="server" Height="30px" Width="380px"&gt;&lt;/asp:TextBox&gt;&lt;/div&gt;&lt;br /&gt;
Password:
&lt;asp:TextBox ID="home_pass"  runat="server" Height="30px" Width="380px" TextMode="Password"&gt;&lt;/asp:TextBox&gt;
&amp;nbsp; &lt;asp:ImageButton ID="home_btn" ImageUrl="~/images/button.png" runat="server" 
Height="30px" Width="75px" onclick="home_btn_Click" /&gt;
&lt;asp:Label ID="label1" runat="server"&gt;&lt;/asp:Label&gt;
</code></pre>

<p>Now my problem is that I have received only gmail accounts mails in my account but other accounts like hotmail,yahoo etc mails I have not recevied.How can receive all acounts mail in my accounts????</p>
