Hi,
I have a domain name with me for example yahoo.com. Now i want to get SMTP name in c# code. Now, i know Yahoo SMTP name and i can pass it as a Host name for sending an email.
I want code to get SMTP name for example i am passing yahoo.in as a domain name and receiving smtp.Host = "smtp.mail.yahoo.com"; yahoo SMTP host name.
Please suggest.
Thanks.

Rajeesh MenothRank #118 · 18.4K reputationPosted Nov 5, 2015, 2:21 AM EST
Mangesh barmate87 reputationPosted Nov 5, 2015, 2:38 AM EST