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/>&nbsp; &nbsp; &nbsp; &nbsp; &lt;jbi:services binding-component=&quot;true&quot;&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; 
<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <!-- Import a Service into Petals => provides a Service. --><br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;jbi:provides                 
<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; interface-name=&quot;generatedNs:Mail&quot;
<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; service-name=&quot;generatedNs:testMail&quot;
<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; endpoint-name=&quot;testMailEndpoint&quot;&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; 
<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <!-- CDK specific elements --><br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;petalsCDK:timeout&gt;30000&lt;/petalsCDK:timeout&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;petalsCDK:validate-wsdl&gt;true&lt;/petalsCDK:validate-wsdl&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;petalsCDK:forward-security-subject&gt;false&lt;/petalsCDK:forward-security-subject&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;petalsCDK:forward-message-properties&gt;false&lt;/petalsCDK:forward-message-properties&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;petalsCDK:forward-attachments&gt;false&lt;/petalsCDK:forward-attachments&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;petalsCDK:wsdl&gt;MailService.wsdl&lt;/petalsCDK:wsdl&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <!-- Component specific elements -->&nbsp; &nbsp; &nbsp; &nbsp; 
<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:scheme&gt;smtp&lt;/mail:scheme&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:host&gt;smtp.gmail.com&lt;/mail:host&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:port&gt;465&lt;/mail:port&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:user&gt;****@gmail.com&lt;/mail:user&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:password&gt;****&lt;/mail:password&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:from&gt;****@gmail.com&lt;/mail:from&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:reply&gt;***@gmail.com&lt;/mail:reply&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:to&gt;****@gmail.com&lt;/mail:to&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:subject&gt;test petals mail&lt;/mail:subject&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mail:send-mode&gt;content-and-attachments&lt;/mail:send-mode&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/jbi:provides&gt;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/jbi:services&gt;<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&amp;node=2681633&amp;code=Z2VuZXJhbEBmb3J1bS5wZXRhbHNsaW5rLm9yZ3wyNjgxNjMzfDM0MTAxNjA5NA==">click here</a>.
        </div>