cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Daniel <alexander.dan...@gmx.at>
Subject Re: Sendmail Action return parameters
Date Sun, 24 Feb 2008 20:15:02 GMT
On 22.02.2008, at 14:12, Gary Larsen wrote:
> Hi - using 2.1.9 currently.
>
>
>
> I’m having a problem understanding how to process return parameters  
> from an action.  The goal is to create a notification when a  
> Sendmail action fails.
>
>
>
> According to the docs:  The following is the list of parameters  
> which are passed from Sendmail action back into the sitemap.: status  
> & message
>
>
>
> How do I access those parameters to use a source to a generator?
>

The following sitemap fragment demonstrates how you can access the  
return parameter status of the sendmail action:

<map:act type="sendmail">
     <map:parameter name="smtp-host" value="mail.example.com" />
     ...

     <map:generate src="{status}.xml"/>
</map:act>

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


Mime
View raw message