Modify MailSettings in app.config

  • Thread starter Alhambra Eidos Desarrollo
  • Start date
A

Alhambra Eidos Desarrollo

Hi all



I have an app.config file for my App, and use MailSettings Section.



I can modify AppSettings and ConnectionsStrings , and then save app.config.



Can I modify mailsettings section, any sample code please ??



thanks in advanced !!!



<system.net>
<mailSettings>
<!-- Configuración Correo -->
<smtp deliveryMethod="Network" >
<network defaultCredentials="false" host="smtp.correo.yahoo.es"
port="25" userName="(e-mail address removed)" password="xxxx"/>
</smtp>
</mailSettings>
</system.net>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top