<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.web>
    <globalization 
      requestEncoding="utf-8" 
      responseEncoding="utf-8" 
      fileEncoding="utf-8"
      culture="es-CL" 
      uiCulture="es-CL" />  
    <compilation debug="true" targetFramework="4.8" />
    <httpRuntime targetFramework="4.8" />
    <customErrors mode="Off"/>
  </system.web>
  
  <system.webServer>
    <handlers>
      <add name="ASPX" path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" />
    </handlers>
    
    <httpProtocol>
      <customHeaders>
        <add name="Access-Control-Allow-Origin" value="*" />
        <add name="Access-Control-Allow-Methods" value="GET,POST,OPTIONS" />
        <add name="Access-Control-Allow-Headers" value="Content-Type" />
      </customHeaders>
    </httpProtocol>
  </system.webServer>
  
  <system.net>
    <mailSettings>
      <smtp from="no-reply@dominio.com">
        <network host="tu-servidor-smtp.com" 
                 port="587" 
                 userName="tu-email@dominio.com" 
                 password="tu-password" 
                 enableSsl="true" />
      </smtp>
    </mailSettings>
  </system.net>
</configuration>