This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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 email@example.com 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).]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Problem in Sending mail to SMTP port thru Sockets