You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Joseph <pj...@gmail.com> on 2010/06/02 12:42:24 UTC
Re: email not working in Cocoon 2.1.11 (I think)
Hi There,
Thank you for your reply.
I found that I had to delete three "geronimo" jars in the WEB-INF/lib
directory and also a j2ee_1.4.jar that was also there. It now works.
My mail code was using mail.jar from JavaMail and it had a method in it
that was being blocked when these other four jars mentioned above were
present. The geronimo jars apparently are known to cause mail to fail
"silently".
Paul
On 5/31/2010 3:23 PM, Jeroen Reijn wrote:
> Hi,
>
> no not problems as far as I know. You did not get any error message?
> Looking at your java code it seems to log quite a bit. Are you sure it
> ends up at you java component?
>
> Gr,
>
> Jeroen
>
> On Thu, May 27, 2010 at 8:46 PM, Paul Joseph<pj...@gmail.com> wrote:
>
>> Hi there,
>>
>> I have a standard Java Mail demo example (attached) that when I run from the
>> command line sends email correctly (using sendmail at the MTA).
>>
>> However when I include it in a Cocoon application, and call it with the flow
>> script it gives one the impression that it is sending email, but actually
>> fails silently.
>> (I have the correct libs mail.jar and activation.jar in the application's
>> lib directory.)
>>
>> It used to work (I think) in Cocoon 2.1.6
>>
>> Could there be any conflict that one is aware of with the new libs in
>> 2.1.11?
>>
>> Paul
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org