Mangesh barmate

Mangesh barmate

  • 2.1k
  • 118
  • 129.4k

How to get SMTP name in c#?

Nov 5 2015 7:15 AM


I have a domain name with me for example 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 as a domain name and receiving smtp.Host = ""; yahoo SMTP host name.

Please suggest.


Answers (2)