Not at all - your question made me realise that I miss-understood your
previous email and in addition to removing the geronimo jars I removed
the Sun activation.jar. The company that hosts my cocoon application
only restarts Tomcat at midnight so I will let you know tomorrow if it
works.
Thanks
Peter
Maybe a stupid question but did you restart cocoon after inserting mail.jar?
And did you add the activation.jar from sun to WEB-INF/lib?
-----Original Message-----
From: Peter Sparkes [mailto:[EMAIL PROTECTED]
Sent: zaterdag 3 juni 2006 13:54
To: [email protected]
Subject: Re: SendMailTransformer - jars
Hi,
Thanks for the info.
I have removed the geronimo mail and activation jars from my cocoon
application WEB-INF/lib directory and inserted the mail.jar.
However I
now get the following error. Please, do you know what it means?
<document>
<email:exception>
<email:message>Unable to locate provider for protocol:
smtp</_email:message_>
</email:exception>
</document>
Peter
-----Original Message-----
From: Peter Sparkes [mailto:[EMAIL PROTECTED]
Sent: vrijdag 2 juni 2006 20:59
To: [email protected]
Subject: SendMailTransformer - jars
Hi,
I am having difficulties getting email working using the
SendMailTransformer.
I am using tomcat 5 and cocoon 2.1.9.
The SendMailTransformer apidocs states that I have to put the
following
files into Cocoon lib directory:
|mail.jar and ||activation.jar
However at |http://java.sun.com/products/javamail/ I can't find the
mail.jar. However I can get dsn.jar, imap.jar, mailapi.jar,
pop3.jar and
smtp.jar. Do I require some or all of these jars in place of the
mail.jar? If not were can I get the mail.jar
You can download it at
http://java.sun.com/products/javamail/downloads/index.html
Inside the zip you will find mail.jar.
And indeed, get rid of the geronimo mail and activation jars
from the cocoon distribution. They break the SendMailTransformer.
Jasha
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]