Hi Marco, Since your transport name is "mailtoSMTP" can you please make sure, you are trying send as follows
<endpoint> <address uri="*mailtoSMTP*:u...@example.com"/> </endpoint> Regards Senduran On Fri, Jan 19, 2018 at 4:32 PM, marco.sessa <marco.se...@cspnet.it> wrote: > Hi, > I have tried to configure in WSO2 EI 6.1.0 the MailTransportSender for > using a SMTPS server, > but I received the follow error: > > Could not connect to SMTP host: smtps.aruba.it, port: 465, response: -1 > > Is SMTPS protocol supported in WSO2 EI? > > This is my config: > > <transportSender name="mailtoSMTP" > class="org.apache.axis2.transport.mail.MailTransportSender"> > <parameter name="mail.smtp.host">smtps.aruba.it</parameter> > <parameter name="mail.smtp.port">465</parameter> > <parameter name="mail.smtp.ssl.enable">true</parameter> > <parameter name="mail.smtp.starttls.enable">true</parameter> > <parameter name="mail.smtp.auth">true</parameter> > <parameter name="mail.smtp.user">u...@aaabbcc.it</parameter> > <parameter name="mail.smtp.password">*********</parameter> > <parameter name="mail.smtp.from">u...@aaabbcc.it</parameter> > </transportSender> > > > > Thanks in advance > Marco > > *_________________________* > *Marco Sessa* > > > *Software Analyst / Developer* > CSP S.p.A. > Napoli - Centro Direzionale, > Italy > isola G/1, scala C > Tel: 081.191.38.607 > Cel: 340.8689247 > Email: marco.se...@cspnet.it > www.cspnet.it > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Senduran * Senior Software Engineer, WSO2, Inc.; http://wso2.com/ <http://wso2.com/> Mobile: +94 77 952 6548
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev