Getting error while sending mail?
<p>when i am sending mail in my web application i am getting this erro.</p>

<p>I AM GETTING THIS ERROR. The element may only appear once in this section. (C:\Inetpub\vhosts\XXX.com\httpdocs\web.config line 64) </p>

<pre><code> &lt;system.net&gt;
    &lt;mailSettings&gt;
        &lt;smtp&gt;
            &lt;network host="webmail.xxx.com" port="25" userName="info@xxx.com" password="asdf" defaultCredentials="false"/&gt;
            &lt;network host="webmail.yyy.com" port="25" userName="info@yyy.com" password="asdf12" defaultCredentials="false"/&gt;
        &lt;/smtp&gt;
    &lt;/mailSettings&gt;
&lt;/system.net&gt;
</code></pre>
