You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ram Peleg <Ra...@ascom.ch> on 2001/09/05 11:18:00 UTC

Sending email (again)

hi sadro

thanx 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

Re: Sending email (again)

Posted by Naresh Sharma <na...@yahoo.com>.
Hello Rami,

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 sadro
>
> thanx 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