Tag Archives: read

.NET Software Windows

Read SMTP configuration in System.Net.Mail

System.Net.Mail can configure itself using special settings at our application configuration. This is an example of node sample at configuration file:

<system.net>
    <mailSettings>
      <smtp from="info@isnandi.net">
        <network host="localhost" password="test" userName="dony" />
      </smtp>
    </mailSettings>
  </system.net>

read more »