I'm using this code for sending mails. But these mails arrive in spam folder.
MailMessage message = new MailMessage();
message.From = new MailAddress(ConfigurationSettings.AppSettings["From"]);
message.To.Add(new MailAddress(ConfigurationSettings.AppSettings["To"]));
message.Subject = ConfigurationSettings.AppSettings["Title"];
message.Body = ConfigurationSettings.AppSettings["Body"];
SmtpClient client = new SmtpClient();
client.Send(message);
Why? How can i do?
thank