Note that there are some explanatory texts on larger screens.

plurals
  1. POElmah not sending Email
    text
    copied!<p>I have implemented Elmah in my Mvc4 application.My web.config is as follows:-</p> <pre><code>&lt;configuration&gt; &lt;configSections&gt; &lt;sectionGroup name="elmah"&gt; &lt;section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" /&gt; &lt;section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" /&gt; &lt;section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" /&gt; &lt;section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" /&gt; &lt;/sectionGroup&gt; &lt;/configSections&gt; &lt;elmah&gt; &lt;security allowRemoteAccess="1" /&gt; &lt;errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data"/&gt; &lt;errorMail from="test@test.in" to="test1@test.in" subject="Elmah Report" async="true" smtpServer="mail.test.in" /&gt; &lt;/elmah&gt; &lt;connectionStrings&gt; &lt;add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnet-Mvcjquery-20130225111502;Integrated Security=SSPI" /&gt; &lt;/connectionStrings&gt; &lt;system.web&gt; &lt;httpHandlers&gt; &lt;add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" /&gt; &lt;/httpHandlers&gt; &lt;httpModules&gt; &lt;add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/&gt; &lt;add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/&gt; &lt;/httpModules&gt; &lt;/system.web&gt; &lt;system.webServer&gt; &lt;validation validateIntegratedModeConfiguration="false"/&gt; &lt;modules&gt; &lt;add name="Elmah.ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" /&gt; &lt;add name="Elmah.ErrorMail" type="Elmah.ErrorMailModule" preCondition="managedHandler" /&gt; &lt;/modules&gt; &lt;handlers&gt; &lt;add name="Elmah" path="elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" /&gt; &lt;/handlers&gt; &lt;/system.webServer&gt; &lt;/configuration&gt; </code></pre> <p>I have added code to send email via elmah.I can see errors by typing in url localhost://elmah.axd.But am not getting mail.Pls help</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload