MVC - Send an email

by
Jeremy Canfield |
Updated: March 20 2020
| MVC articles
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>
Did you find this article helpful?
If so, consider buying me a coffee over at