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
Hemant JindalPosted Aug 8, 2019, 10:21 AM
Ashish SharmaPosted Aug 8, 2019, 10:05 AM
Priyanka JainPosted Aug 8, 2019, 9:27 AM
Ashish SharmaPosted Aug 8, 2019, 9:16 AM
Hemant JindalPosted Aug 8, 2019, 8:00 AM
Ashish SharmaPosted Aug 8, 2019, 7:26 AM
Amit MohantyPosted Aug 8, 2019, 7:15 AM
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 SharmaPosted Aug 8, 2019, 6:30 AM
Upendra Pratap ShahiPosted Jun 9, 2015, 1:36 AM