Technologies used in this article :

  1. log4j

  2. SLF4J

  3. Javamail

  4. JDK 1.6

  5. Eclipse 3.7

Download :

Related Posts

1. Create a Java Project and a Class with 'main' method

Create a java project ('Log4jMailNotifer') and a class ('Log4jMailNotiferTest') with 'main' method

 

2. Copy jars

Create a 'lib' folder inside the project folder and copy the following jars 'slf4j-api-1.7.1.jar', 'slf4j-log4j12-1.7.1.jar', 'log4j-1.2.17.jar' and 'mail-1.4.jar' to the newly created 'lib' folder. These jars are already included in the full source code provided with this tutorial in the 'Download Source Code' section.

 

Continue Reading -->