?
Solved

Cant send email to aol account from smtp relay server

Posted on 2013-11-08
2
Medium Priority
?
620 Views
Last Modified: 2014-11-12
I have a small program that sends email using the local smtp relay server.
I can send email to any other domain name (ie..yahoo or gmail or any other account)...but whenever i try to send the email to any valid (aol email) ...i dont see anything in the inbox.

but when i send it through my outlook or any gmail website itself...the message goes to the aol inbox.

any particular reason why it is behaving like this?


thanks
Albin


  string sMessage;
            SmtpClient smtpClient = new SmtpClient();
            MailMessage message = new MailMessage();
            try
            {

                //you can provide invalid from address. but to address Should be valil
                MailAddress fromAddress = new MailAddress("agorkhali@factortrust.com", "Albin");
                //smtpClient.Host = "192.168.100.11";

                smtpClient.Host = "192.168.200.50";
                smtpClient.Port = 25;
                //smtpClient.Port = 587;
                //smtpClient.EnableSsl = true;

                //smtpClient.UseDefaultCredentials = true; 
                //smtpClient.Credentials = nc;
                message.From = fromAddress;
            
                message.To.Add("gorkhalia@aol.com"); //Recipent email 
                message.Subject = "test smtp email";
                message.Body = "This is a test email through smtp client";
                message.IsBodyHtml = true;

                //smtpClient.EnableSsl = true; 
                smtpClient.DeliveryMethod = SmtpDeliveryMethod.Network;
                smtpClient.Send(message);
                sMessage = "Email sent.";
            }
            catch (Exception ex)
            {
                sMessage = "Coudn't send the message!\n " + ex.Message;
            }

Open in new window

0
Comment
Question by:agorkhali
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 1500 total points
ID: 39635206
It could be because you are sending from a private IP address "192.168.200.50" instead of a known public IP address.  That is often taken as a sign of spam.  In addition, if AOL does a reverse lookup on your domain in the From address, it is clear that it's not the IP address associated with the factortrust.com mail servers.
0
 
LVL 23

Expert Comment

by:ormerodrutter
ID: 39638829
You can ask your ISP to add a RDNS (Reverse DNS) record to your domain/IP.

In that way when AOL does a reverse lookup you have a fully valid RDNS record.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Many of you may be aware of the recent Google Docs scam emails that have been floating around coming from various people that you know. Here's a guide on identifying How To Identify the Scam Email You will see an email from someone you’ve had co…
This Micro Tutorial will demonstrate how to analyze your website's back links using a network graph powered by a fusion table.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question