configuring mail transport sender in esb 2.0.2 -- Sample 256

kirank's picture
Hi all, I would like to send a mail once synapse gets a request for a service through the proxy . I made the necessary configurations in the axis2.xml. What I notice is a big fat exception when ESB is trying to send a mail. PFA the log trace. The changes done to axis2.xml are 1) Uncommenting TransportSender part. 2) Having the two properties set <parameter name="mail.smtp.host">mail.xxx.com</parameter>> <parameter name="mail.smtp.from">kiran@xxx.com</parameter> Please let me know if I have done any mistake in the configuration. Thanks Kiran.
AttachmentSize
exception_log.txt4.71 KB
indika's picture

Hi This issue is related

Hi This issue is related with class loading. BTW , according to the our QA team , this sample didn't work in ESB 2.0.2. But this is in fix upcoming releases(2.1). Could you check with RCs of ESB 2.1.? Please refer the mail thread with name 'Error when retrieving mail from GMail' from [1] [1] http://mail-archives.apache.org/mod_mbox/synapse-dev/200905.mbox/thread Thanks Indika
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)