You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ma...@swisscom.com on 2003/05/20 09:00:31 UTC

Sendmail problems

Hello,
I try to send mails with cocoon, but it doesn't work. Here is my
configuration :

XSP File :

<xsp:page language="java" 
 xmlns:xsp="http://apache.org/xsp"
 xmlns:sendmail="http://apache.org/cocoon/sendmail/1.0" 
...
 > 
...
    <sendmail:send-mail>
     <sendmail:charset>ISO-8859-1</sendmail:charset>
     <sendmail:to><xsp:expr>my_add</xsp:expr></sendmail:to>
     <sendmail:subject>Cocoon Search Results</sendmail:subject>
     <sendmail:body>the content of the body</sendmail:body>
    </sendmail:send-mail>
...

And in the cocoon.xconf I added :

<builtin-logicsheet>
  <parameter name="prefix" value="mail"/>
  <parameter name="uri" value="http://apache.org/cocoon/sendmail/1.0"/>
  <parameter name="href"
value="resource://org/apache/cocoon/components/language/markup/xsp/java/
sendmail.xsl"/>
</builtin-logicsheet>

Do I forgot something? Or is something wrong? Thanks for your help
  

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


Re: Sendmail problems

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 20.May.2003 -- 09:00 AM, Maxime.Gheysen@swisscom.com wrote:

<snip/>

> Do I forgot something? Or is something wrong? Thanks for your help

Yes : which version do you use? Have you added activation.jar and
mail.jar to your libs? (you'll get those jars from sun)

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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


Re: Sendmail problems

Posted by Yury Mikhienko <Yu...@mobicomk.ru>.
On Tue, 20 May 2003 09:00:31 +0200
<Ma...@swisscom.com> wrote:

> Hello,
> I try to send mails with cocoon, but it doesn't work. Here is my
> configuration :
> 
> XSP File :
> 
> <xsp:page language="java" 
>  xmlns:xsp="http://apache.org/xsp"
>  xmlns:sendmail="http://apache.org/cocoon/sendmail/1.0" 
> ...
>  > 
> ...
>     <sendmail:send-mail>
>      <sendmail:charset>ISO-8859-1</sendmail:charset>
>      <sendmail:to><xsp:expr>my_add</xsp:expr></sendmail:to>
>      <sendmail:subject>Cocoon Search Results</sendmail:subject>
>      <sendmail:body>the content of the body</sendmail:body>
>     </sendmail:send-mail>
> ...
> 

Where are your <sendmail:smtphost/> node?
May be problem in that?

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

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