cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rui Alberto <>
Subject Sendmail action: body message using src parameter
Date Tue, 15 May 2007 19:45:35 GMT
I'm trying to send an email using Sendmail action. Everything works fine
if body message is set using parameter "body". If body message is set as
an URL specifying the source of the text body of the email (using src
parameter), the message is not sent.

I'm using cocoon-2.1.10. I also replaced geronimo-* by mail.jar and

<map:act type="sendmail">
  <map:parameter name="from" value=""/>
  <map:parameter name="to" value=""/>
  <map:parameter name="subject" value="message subject"/>
  <map:parameter name="src" value="cocoon:/target_name"/>
  <map:parameter name="srcMimeType" value="text/plain"/>

Any idea what may be wrong?


strack trace:
javax.mail.SendFailedException: Sending failed;
  nested exception is:
        javax.mail.MessagingException: IOException while sending
  nested exception is: No content
        at javax.mail.Transport.send0(
        at javax.mail.Transport.send(

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message