title: Set two smtp servers in config file
body: <p>I am trying to set two smtp servers in web.config file but get error </p>
  
  <pre><code> Unrecognized configuration section system.net/mailSettings/smtp_1.
  </code></pre>
  
  <p>How correctly to do that?</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;configSections&gt;
      &lt;sectionGroup name="mailSettings"&gt;
        &lt;section name="smtp_1" type="System.Net.Configuration.SmtpSection"/&gt;
        &lt;section name="smtp_2" type="System.Net.Configuration.SmtpSection"/&gt;
      &lt;/sectionGroup&gt;
    &lt;/configSections&gt;
  
  &lt;system.net&gt;
      &lt;mailSettings&gt;
        &lt;smtp_1 from="no-reply1@web2pdfconvert.com" deliveryMethod="specifiedPickupDirectory"&gt;
          &lt;specifiedPickupDirectory  pickupDirectoryLocation="C:\Users\Administrator\Projects\temp\wp" /&gt;
          &lt;network host="smtp...." enableSsl="true" userName="..." password="..." port="587"  /&gt;
        &lt;/smtp_1&gt;
        &lt;smtp_2 from="no-reply2@web2pdfconvert.com" deliveryMethod="specifiedPickupDirectory"&gt;
          &lt;specifiedPickupDirectory  pickupDirectoryLocation="C:\Users\Administrator\Projects\temp\wp" /&gt;
          &lt;network host="smtp...." port="25" /&gt;
        &lt;/smtp_2&gt;      
      &lt;/mailSettings&gt;
    &lt;/system.net&gt;
  &lt;/configuration&gt;
  </code></pre>