i have facility in my website which sends an e-mail to the cleint's
inbox..... i am getting a problem when ever i sends an e-mail.. i tried with
Hotmail and Yahoo, e-mail goes to the "Junk Mail" folder not the actual
inbox....

how i can get e-mail sent the clients inbox not in their "Bulk" or "Junk
Mail" box
thanks

my send e-mail page C# codes are below:


Server.ScriptTimeout = 1000;

SmtpMail.SmtpServer = "127.0.0.1";
MailMessage mail = new MailMessage();
mail.To = this.TextBox2.Text;
mail.From = this.TextBox4.Text;
mail.Subject = this.TextBox1.Text + " recommends this eOman.gov.om page";
mail.BodyFormat = MailFormat.Html;

string strBody = this.TextBox1.Text + "<html><body>My Message text starts
from here" +
" <br><br><font color=\"black\"><a href='" + this.TextBox3.Text + "'>" +
this.TextBox3.Text + "</a></font>" +
" <br><br><font color=\"black\"><hr></font>" +
" <br><font color=\"black\">My Message ends here.</font></body></html>";

mail.Body = strBody;

try
{
SmtpMail.Send(mail);
Label4.Text="The e-mail has been sent to: "+ mail.To;
}
catch(System.Exception ex)
{
Response.Write(ex.Message);
}

Re: e-mail not going to "inbox" rather going to the "Junk Mail" box by Michael

Michael
Sat Mar 15 10:14:34 CDT 2008

This is entirely up to the recipient's ISP, which thinks you are a spammer.
Are you a spammer?




"TalalSaleem" <TalalSaleem@discussions.microsoft.com> wrote in message
news:F450046F-A8F1-4282-A34D-4B5E12A3A72F@microsoft.com...
>i have facility in my website which sends an e-mail to the cleint's
> inbox..... i am getting a problem when ever i sends an e-mail.. i tried
> with
> Hotmail and Yahoo, e-mail goes to the "Junk Mail" folder not the actual
> inbox....
>
> how i can get e-mail sent the clients inbox not in their "Bulk" or "Junk
> Mail" box
> thanks
>
> my send e-mail page C# codes are below:
>
>
> Server.ScriptTimeout = 1000;
>
> SmtpMail.SmtpServer = "127.0.0.1";
> MailMessage mail = new MailMessage();
> mail.To = this.TextBox2.Text;
> mail.From = this.TextBox4.Text;
> mail.Subject = this.TextBox1.Text + " recommends this eOman.gov.om page";
> mail.BodyFormat = MailFormat.Html;
>
> string strBody = this.TextBox1.Text + "<html><body>My Message text starts
> from here" +
> " <br><br><font color=\"black\"><a href='" + this.TextBox3.Text + "'>" +
> this.TextBox3.Text + "</a></font>" +
> " <br><br><font color=\"black\"><hr></font>" +
> " <br><font color=\"black\">My Message ends here.</font></body></html>";
>
> mail.Body = strBody;
>
> try
> {
> SmtpMail.Send(mail);
> Label4.Text="The e-mail has been sent to: "+ mail.To;
> }
> catch(System.Exception ex)
> {
> Response.Write(ex.Message);
> }