We have a domain name "www.mycloudcctv.com" at godaddy.com and we have created a sub domain cam.mycloudcctv.com which points to 212.78.237.157 We have an application running on third party server (212.78.237.157). This application wants to send an email on our behalf using the email address “alerts@ mycloudcctv.com ". Following code snippet (ASP.NET) is being used to send the email from (212.78.237.157)
var mailClient = new SmtpClient(); mailClient.Credentials = new NetworkCredential { UserName = "[email protected]", Password = "xyz" }; mailClient.Port = 25; mailClient.Host = "smtpout.secureserver.net"; mailClient.EnableSsl = false; var mail = new MailMessage("[email protected]", "[email protected]", "Test Smtp server", "Testing mycloudcctv server") { IsBodyHtml = true }; //Now Send the message mailClient.Send(mail);
Everything works fine and emails are being sent however they end up in SPAM/JUNK folders of gmail/hotmail/yahoo. Could you please provide us necessary information so that our emails go to inbox instead of spam folders?
X-Spam-Score
(or similar) entry that points you in the right direction what you have to do. – Uwe Keim