Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 655125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:34:11+00:00 2026-05-13T22:34:11+00:00

I have configured a SMTP appender to send an email whenever there’s an error.

  • 0

I have configured a SMTP appender to send an email whenever there’s an error.

<appender name="EmailAppender">
  <bufferSize value="50" />
  <lossy value="false" />
  <threshold value="ALL" />
  <evaluator type="log4net.Core.LevelEvaluator,log4net">
    <threshold value="ERROR" />
  </evaluator>
</appender>

I need to also get an email when an operation (which is not an error) is completed. I can in theory log this as an error and get an email but in reality it’s not an error but an indication that an operation has been completed (More like an INFO).

Should I add another SMTP appender?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:34:11+00:00Added an answer on May 13, 2026 at 10:34 pm

    You should be able to change <threshold value="ERROR"/> to <threshold value="INFO"/>. This appender will then deliver emails for INFO, WARN, ERROR and FATAL.

    If you need a custom level, you can use something like:

    <level>
      <name value="CUSTOM"/>
      <value value="35000"/>
    </level>
    

    See this question for more information on how to filter with custom levels. Apache provides more information on levels here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an Elmah configured to send error notification emails to us whenever something
I am using following WordPress plugin to send email. http://coffee2code.com/wp-plugins/configure-smtp/ I have done configuration,
I have application that fetches email configuration settings such as host (SMTP Server name),
I have recently configured IIS 7.5 to use the SMTP server. Now, I have
I've configured an SMTPAppender into my Java app. <appender name=AdministratorEmail class=org.apache.log4j.net.SMTPAppender> <param name=Threshold value=info
I have configured smtp gmail for mail sending. It sends mail well, but when
I have configured and running SmarterEmail server, running SMTP service for 25 port, configured
I have configured my email.yml in my Redmine installation, but when I try to
I have Windows XP and configured SMTP server in my IIS . Specified AllUnAssigned
I have two dedicated servers, one of which is configured for sending email out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.