Hi, I have set up a email trace listener reference with all the properties and dependencies correct. In this code:
protected void Page_Load(object sender, EventArgs e)
Exception exception = new Exception("Test 2");
ExceptionPolicy.HandleException(exception, "Exception Policy");
private void SendMail()
Server.ScriptTimeout = 1000;
MailMessage message = new MailMessage("email@example.com", "firstname.lastname@example.org", "Test", "Test...");
SmtpClient emailClient = new SmtpClient("mail.acompany.com", 25);
Response.Write("The Mail has been sent to: ");
catch (Exception ex)
The category handling the exception has an email and a database trace listener. The database records the above log event fine but the email is never sent (there is no error or exception reported in the event log regarding sending the email).
The email trace listener uses the same information as the SendMail() method above - SendMail executes fine and the email is received but the email trace listener does not...
What do I do to trace the problem??