You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Yury Mikhienko <Yu...@mobicomk.ru> on 2003/09/18 16:26:19 UTC

cocoon's sendmail.xsl

Hi again!

The testing of cocoon2.1 is not over for this time :))

After trying to send e-mail with cocoon sendmail logicsheet I get the following xml (instead of expected):

-
<html>
<body/>
</html>

And e-mail was not sent :((

My sendmail code (works properlly with cocoon 2.0.4)
<snip>
  <content>
   <resp>sent.</resp>

  <sendmail:send-mail>
   <sendmail:smtphost>mail.mobicomk.ru</sendmail:smtphost>  
   <sendmail:from><xsp:expr>""+request.getParameter("from")+"@sms"</xsp:expr></sendmail:from> 
   <sendmail:to><xsp:expr>to</xsp:expr></sendmail:to> 
   <sendmail:subject>mail from sms-service</sendmail:subject>
   <sendmail:body><xsp:expr>text</xsp:expr></sendmail:body>
  </sendmail:send-mail>

  </content>
</snip>

Can anyone help me?

Thanks for the help.

-- 
 
Best regards,
Yury Mikhienko.
IT ERP group head, ZAO "Mobicom-Kavkaz"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon's sendmail.xsl - SOLVED

Posted by Yury Mikhienko <Yu...@mobicomk.ru>.
On Thu, 18 Sep 2003 18:26:19 +0400
Yury Mikhienko <Yu...@mobicomk.ru> wrote:

> Hi again!
> 
> The testing of cocoon2.1 is not over for this time :))
> 
> After trying to send e-mail with cocoon sendmail logicsheet I get the following xml (instead of expected):
> 
> -
> <html>
> <body/>
> </html>
> 
> And e-mail was not sent :((
> 
> My sendmail code (works properlly with cocoon 2.0.4)
> <snip>
>   <content>
>    <resp>sent.</resp>
> 
>   <sendmail:send-mail>
>    <sendmail:smtphost>mail.mobicomk.ru</sendmail:smtphost>  
>    <sendmail:from><xsp:expr>""+request.getParameter("from")+"@sms"</xsp:expr></sendmail:from> 
>    <sendmail:to><xsp:expr>to</xsp:expr></sendmail:to> 
>    <sendmail:subject>mail from sms-service</sendmail:subject>
>    <sendmail:body><xsp:expr>text</xsp:expr></sendmail:body>
>   </sendmail:send-mail>
> 
>   </content>
> </snip>
> 
> Can anyone help me?
> 
> Thanks for the help.

I solve the problem after put into the /WEB-INF/lib directory following packages:
activation.jar
mail.jar


-- 
 
Best regards,
Yury Mikhienko.
IT ERP group head, ZAO "Mobicom-Kavkaz"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org