e-mail not going to "inbox" rather going to the "Junk Mail" box

T

TalalSaleem

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);
}
 
M

Michael A. Covington

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top