synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@wso2.com>
Subject Re: EMail mediator configuration
Date Tue, 18 Dec 2007 11:10:19 GMT
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.
2. Would be cool to someday allow one to pick the body or attachment
from the registry
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..

asankha

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


Mime
View raw message