TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ZAIN ULARIFEEN
1.6k
143
150.1k
Email goes to spam instead of inbox
Jun 9 2015 1:09 AM
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
Reply
Answers (
9
)
Filtering duplicate data received
What is MVC?