SMTPAppender of Log4J API uses JavaMail API(http://java.sun.com/products/javamail/index.html) for sending mail. and "activation" framework is bundled with JavaMail API, so please ensure you have JavaMail API.
If you don't have then download it from http://java.sun.com/products/javamail/index.html.
Bye
Naresh
Ram Peleg wrote:
hi sadrothanx for your example. now i've another problem: when i'm
running my application i get an error message: >java.lang.NoClassDefFoundError: javax/activation/DataSource<
accordingly i've checked on my javax library and found no package called "activaion" and no class called "DataSource"
do you know where can i find (dounload) them?bye
rami