Using Postal in an MVC 5 solution and I got Postal to work when sending to an address defined in Web.config but what I'm wanting to do is send it to a person as defined in a DB. In other words I have 3 admins on the site I'm developing and I want to direct emails to any one of the 3 but not necessarily all.
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="12347@yahoo.com">
<network host="mail.xxxx.com" port="587"
defaultCredentials="false"
userName="name@xxxx.com"
password="password"
enableSsl="false"/>
</smtp>
</mailSettings>
</system.net>
Instead of using the above I want to retrieve the network info from an SQL DB and use it instead.
Is this possible?