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.