Hi Gary & Eric,

I am really sorry on getting late in trying this. Somehow this was missed
from my todo list with the heavy workload.

Mail transport and the sending process seems OK and it just works when
trying to send an email in the inflow. There was a major error on the
outflow which is, not being picking the endpoint inside the send mediator in
the sending process of the outflow (sendback). I have fixed this and if you
build Synapse from the svn trunk now, you will be able to see this working.
As Asankha suggested you need to uncomment and change the mail transport
sender in the axis2.xml as well.

Eric, now you should be able to do this by adding a send mediator with an
address endpoint pointing to the mailto:$MAIL_ADDRESS with the uri attribute
of that endpoint. Let me know if you run in to issues with this.

Thanks,
Ruwan

On 10/6/07, Geiglein, Gary <[EMAIL PROTECTED]> wrote:
>
> This was never resolved. The last message from Ruwan Linton was:
>
> "Hmmm.... OK. I will try this and get back to you soon." (see the end of
> the thread)
>
> -----Original Message-----
> From: Asankha C. Perera [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 05, 2007 8:41 AM
> To: [email protected]
> Subject: Re: Sending to a mail endpoint
>
> Eric
>
> What you need to do is to configure the mail transport in the axis2.xml
> used by the Synapse instance. (Similar to enabling JMS). For 1.0 release
>
> we did not have any samples or documentation on this - and we have not
> yet done any new docs/samples for 1.1 either. We were actually planning
> to cut an RC this week - but as you may see we are a bit late on this.
>
> Meanwhile can you follow this thread
> (http://www.nabble.com/How-do-I-send-a-SMTP-payload--t4470526.html)
> until one of the developers could help you with more docs/details
>
> asankha
>
> Eric Nygma wrote:
> > Hi,
> >
> > With Synapse I define the proxy to a webservice endpoint. Is it
> possible to
> > redirect the response
> > from the ws endpoint as an email.
> > Are there some samples with the distribution ? Or is some
> configuration
> > setting needed somewhere to get it
> > working?
> >
> > Thanks for the help.
> >
> > Regards
> > Eric.
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to