You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Ruwan Linton <ru...@gmail.com> on 2008/01/29 18:47:05 UTC

Re: EMail mediator configuration

Hi all,

I have not committed the code for the EMail mediator because now there is a
proper mail transport developed by Asankha in synapse transports which can
be used to achieve all the requirements that we came across through the
synapse lists.

Please have a look at the synapse documentation for the 1.1.1 release and
the synapse_sample_256 for more information on the mail transport. If you
need any help on getting any thing to work with this new mail transport
please let me know....

Basically you can change any of the headers of the mail being send by
setting properties at the transport scope with names of the mail headers,
using the property mediator before calling the send mediator with the
address specified as mailto:xxx@yyy.com. Also, you can receive the SOAP/POX
messages through emails in to synapse as web service requests in the mail
body or as a MIME attachment.

Thanks,
Ruwan

On Dec 31, 2007 11:34 PM, Ruwan Linton <ru...@gmail.com> wrote:

> Eric,
>
> Sorry for the late reply. There are some local changes, i will committ
> them soon and let you know.
>
> Thanks,
> Ruwan.
>
> On 12/28/07, Eric Nygma <pr...@gmail.com> wrote:
> > Hi Ruwan,
> >
> > Is the Email Mediator implemented now and part of the SVN repository at
> > http://svn.apache.org/viewvc/webservices/synapse/trunk/java/ .
> >
> > Thanks,
> > Eric.
> >
> >
> > On Dec 18, 2007 10:32 AM, Ruwan Linton <ru...@apache.org> 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"/>
> > >  <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>
> > >
> > > Please note that this is not a transport, but it is just a mediator.
> > > Thoughts on storing username and password in a more secure way.
> > >
> > > Thanks,
> > > Ruwan
> > >
> > > --
> > > Ruwan Linton
> > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > >
> >
>
> --
> Sent from Gmail for mobile | mobile.google.com
>
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"
>



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