synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruwan Linton" <ruwan.lin...@gmail.com>
Subject Re: EMail mediator configuration
Date Thu, 20 Dec 2007 03:49:56 GMT
Asankha,

On Dec 18, 2007 4:40 PM, Asankha C. Perera <asankha@wso2.com> wrote:

> Ruwan
> > <sendMail>
> >  <protocol host="string" port="int"/>
> >  <authentication user="string" password="string"/>
> >  <recipient type=("to"|"cc"|"bcc") address="string"
> > personalName="String"/>
> >  <from address="string" personalName="string"/>
> >  <replyTo address="string" personalName="string"/>
> >  <header name="string" value="string" expression="xpath"/>
> >  <subject text="string" expression="xpath"/>
> >  <body text="string" expression="xpath"/>
> >  <attachment src="uri" expression="xpath"/>
> > </sendMail>
> Sounds cool.. some suggestions/observations..
> 1. I assume one can specify multiple <recipient ..>* elements to specify
> to, cc, bcc etc.


yes, certainly.

>
> 2. Would be cool to someday allow one to pick the body or attachment
> from the registry


will add the optional key attribute to the body. :)


>
> 3. Would be even better to let one substitute body variables.. e.g. body
> is picked up from the registry and contains ${param1} etc within the
> text, and the engine will replace these with an XPath expression or
> value etc to compose the actual body..


Will try to do this, we can initially finish up the basic body content and I
will update it to cater these kinds of concatenation scenarios.

Thanks,
Ruwan


>
>
> asankha
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>
>


-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Mime
View raw message