Hi,
<br/><br/>I'm trying to use the mail component to send mail from my gmail account, my SU config is:
<br/><br/><!-- Import a Service into Petals or Expose a Petals Service => use a BC. --><br/> <jbi:services binding-component="true"><br/>
<br/> <!-- Import a Service into Petals => provides a Service. --><br/> <jbi:provides                 
<br/> interface-name="generatedNs:Mail"
<br/> service-name="generatedNs:testMail"
<br/> endpoint-name="testMailEndpoint"><br/>
<br/> <!-- CDK specific elements --><br/> <petalsCDK:timeout>30000</petalsCDK:timeout><br/> <petalsCDK:validate-wsdl>true</petalsCDK:validate-wsdl><br/> <petalsCDK:forward-security-subject>false</petalsCDK:forward-security-subject><br/> <petalsCDK:forward-message-properties>false</petalsCDK:forward-message-properties><br/> <petalsCDK:forward-attachments>false</petalsCDK:forward-attachments><br/> <petalsCDK:wsdl>MailService.wsdl</petalsCDK:wsdl><br/>
<br/> <!-- Component specific elements -->
<br/> <mail:scheme>smtp</mail:scheme><br/> <mail:host>smtp.gmail.com</mail:host><br/> <mail:port>465</mail:port><br/> <mail:user>****@gmail.com</mail:user><br/> <mail:password>****</mail:password><br/> <mail:from>****@gmail.com</mail:from><br/> <mail:reply>***@gmail.com</mail:reply><br/> <mail:to>****@gmail.com</mail:to><br/> <mail:subject>test petals mail</mail:subject><br/> <mail:send-mode>content-and-attachments</mail:send-mode>
<br/> </jbi:provides><br/> </jbi:services><br/><br/>I also try the other port(587) but it don't work, I'm sure that user and pass are correct but I always get a java.net.ConnectExecption cause by javax.mail.MessagingException: Could not connect to SMTP host: smtp.live.com, port: 25.
<br/><br/>Can anyone help me, I'm getting mad.
<br/><br/>Regards.
<br/>
        
        <br/>
        <br/>
        <hr noshade="noshade" size="1" color="#cccccc" />
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://forum.petalslink.com/petals-bc-mail-Can-t-connect-to-SMTP-host-tp2842999p2842999.html">http://forum.petalslink.com/petals-bc-mail-Can-t-connect-to-SMTP-host-tp2842999p2842999.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                To start a new topic under General (discussions and announcements), email ml-node+2681633-491280268-385908@n3.nabble.com <br/>
                To unsubscribe from General (discussions and announcements), <a href="http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681633&code=Z2VuZXJhbEBmb3J1bS5wZXRhbHNsaW5rLm9yZ3wyNjgxNjMzfDM0MTAxNjA5NA==">click here</a>.
        </div>