Author: you nes | Posted on: 6/21/2010 6:00:20 AM | Views : 316

Hello Friends,

I set up a small script that sends mails in asp.net, everything works well,but the problem
is that my emails come in spam, here's the code:

Dim email As New System.Net.Mail.MailMessage()
Dim Client As New Net.Mail.SmtpClient
email.From = New Net.Mail.MailAddress("name@vision.ma", "name")
email.To.Add(New Net.Mail.MailAddress("name1@gmail.com", "name1"))
email.Subject = tbObjet.Text
email.IsBodyHtml = True
email.Body = "<html>" & _
"<head>" & _
"<meta http-equiv=""Content-Language"" content=""fr"">" & _
"<meta http-equiv=""Content-Type"" content=""text/html charset=windows-1252"">" & _
"</head>" & _
"<body>" & _
"<b>Email : </b&g ...

Go to the complete details ...