Hi Everybody, I have made a program which accepts a domain name. I then get the InetAddress for that name and try to get connected to the host at port number 25(which is for SMTP) but I am unable to establish a connection between the server and my application except for WWW.USA.NET. All SMTP mail server listen at port number 25 so when i am trying to connect to this port number why I am not getting response from other mail servers like yahoo or hotmail or rediffmail etc etc. Can anyone help.
Neeraj Thakkar<br />"Try to get what you like,Else you will be forced to like what you get."
Any SMTP Server can prevent connections except those that originate from approved IP addresses. Yahoo, Hotmail and quite a few others are probably limited to just their own servers for mail orgination. This prevents you from using them to send mass maillings which can swamp their server for their normal customers.
Hi Carl, Got ur reply but I still have a doubt. As u said that yahoo or rediff accept mail originating from their own server but we are able to send a mail to firstname.lastname@example.org from anyother server like rediff netaddress hotmail and so on. So please help me out.
Joined: Jun 13, 2000
Lets see if I can illustrate this. Y - Your PC S - Your Smtp server that allows your IP address H - Hotmail, Yahoo, Rediff Servers A - Any Server as destination where the email is addressed These are allowed Y - Smtp origniation to - S - Stmp to destination - A Y - Http origination to - H - Stmp to destination - A Not allowed Y - Smtp origination to - H Actually any server can include a feature that will only allow IP addresses that they set to origninate mail. This is simplifed but, I hope it relays the concpt. ------------------ Hope This Helps Carl Trusiak [This message has been edited by Carl Trusiak (edited February 03, 2001).]