synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjiva Weerawarana <sanj...@opensource.lk>
Subject Re: EMail mediator configuration
Date Thu, 20 Dec 2007 12:12:36 GMT
Ruwan Linton wrote:
> Hi all,
> 
> I have implemented an EMail mediator with the following configuration. 
> (For the moment that configuration contains the username and the 
> password in plain text)
> 
> <sendMail>
>  <protocol host="string" port="int"/>

What does "protocol" mean here??

>  <authentication user="string" password="string"/>
>  <recipient type=("to"|"cc"|"bcc") address="string" personalName="String"/>

IMO this should be <to address=""/>, <cc address=""/> etc..

Also, there's no need to have personalName anywhere- there's a standard 
format to type an address that contains a personal name:
	"Personal Name <person@example.com>""

>  <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>

Sanjiva.
-- 
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

---------------------------------------------------------------------
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