Hello,
I need to know the SMTP server names for Hotmail and Yahoo.
Thanks in advance.
Ram
-
-
Please let me know what exactly you want to achieve bcoz you will not get any direct access to those SMTP servers. Actual we have to rely SMTP server for accepting mails from unknown host. Those servers are behind the firewall. You can get to the server using old hack technics (Nowadays used for network troubleshooting) such as tracroute, ping along with some information from whois protocal of InterNic server. http://www.interNic.net. but you will not able to access those so easily...
-
thanks,
my intention is I want to send mails to my users from my .NET application.
eg., for gmail, I am using smtp.gmail.com, and I can send mails from my application, but whereas for yahoo and hotmail users, unable to send mails from my application.
regards,
Ram
-
For yahoo you can use smtp.mail.yahoo.com port: 465. I have to check out for Hotmail...

-
Your best bet is to use DNS to lookup the MX record for the domain part of an email address. What method are you using to send? Surely it's easier to use an existing SMTP transport (surely there is a library for .NET that sends emails...) that will take care of mapping a domain to its MX.
-
pftqg wrote:Your best bet is to use DNS to lookup the MX record for the domain part of an email address.
... I would caution against this. You would need to write an SMTP server into your app for this to work, and there are SPF/SenderID/DomainKeys concerns.
I would instead suggest requiring a local* SMTP server as a condition of using your app; have your app accept the domain name of the SMTP server as a configuration setting; and have a local "Sender" email address as a configuration setting as well. (If you want to get fancy you can add things like SMTP authentication settings.)
That way the local SMTP server takes on the task of retrying temporary delivery failures, sending undeliverable reports, etc.; and firewall considerations become less of a concern.
* local to the machine, or to the network
pftqg wrote:surely there is a library for .NET that sends emails...
System.Net.Mail.SmtpClient
-
Besides Matthew's concerns (which I agree with fully), my old ISP blocked all outgoing traffic on port 25 as a spam-blocking measure (and the SMTP server you were supposed to use was on a different port, 2525), so an app that uses that method wouldn't work at all there.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.