I am trying to do a simple app that will send email. The constructor for SmtpClient asks for smtp Server Name. How do i know what’s the name of my machine’s smtp server (do I have one ?). I have IIS installed.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
go to Control Panel \ Administrative Tools \ Internet Information Services (IIS) Manager
the view depends on IIS version, but you will definitely see word SMTP. right click on that item and start it. pass “127.0.0.1” to constructor.