FreeKB - How to send email from an MVC application
How to send email from an MVC application

Home > Search > How-to


First, add the following to your web.config file.

  <system.net>
    <mailSettings>
      <smtp>
        <network host="your.smtp.pb.com" port="25" />
      </smtp>
    </mailSettings>
  </system.net>

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter d778d in the box below so that we can be sure you are a human.




Comments