We have a domain name "www.mycloudcctv.com" at godaddy.com.
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 "alerts@ mycloudcctv.com ".the following code snippet send email but goes to spam or junk instead of inbox. i want to goes direct to inbox.
- try
- {
- System.Net.Mail.MailMessage objMM = new System.Net.Mail.MailMessage();
- objMM.From = new MailAddress(from-email, displayName);
- objMM.To.Add(new MailAddress(to-email));
- objMM.Subject = subject;
- objMM.Body = message;
- objMM.IsBodyHtml = true;
- SmtpClient smtp = new SmtpClient(EMAIL_SERVER);
- smtp.Credentials = new NetworkCredential(from-email, "Password");
- smtp.Send(objMM);
- }
- catch (Exception)
- {
- throw;
- }
plz, help me

Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jun 8, 2015, 9:36 PM EDT
Ashish Sharma54 reputationPosted Aug 8, 2019, 2:30 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Aug 8, 2019, 3:15 AM EDT
Check the below link to stop your emails from being marked as spam.
https://www.accuwebhosting.com/blog/7-highly-effective-ways-to-stop-your-emails-from-being-marked-as-spam/
Ashish Sharma54 reputationPosted Aug 8, 2019, 3:26 AM EDT
Hemant JindalRank #827 · 2.7K reputationPosted Aug 8, 2019, 4:00 AM EDT
Ashish Sharma54 reputationPosted Aug 8, 2019, 5:16 AM EDT
Priyanka JainRank #356 · 7K reputationPosted Aug 8, 2019, 5:27 AM EDT
Ashish Sharma54 reputationPosted Aug 8, 2019, 6:05 AM EDT
Hemant JindalRank #827 · 2.7K reputationPosted Aug 8, 2019, 6:21 AM EDT