[General] [petals-bc-mail] Can't connect to SMTP host

gwen [via Petals ESB] ml-node+2842999-1457726819-385908 at n3.nabble.com
Wed Apr 20 16:34:11 CEST 2011



Hi,

I'm trying to use the mail component to send mail from my gmail account, my
SU config is:


	<jbi:services binding-component="true">
	
		
		<jbi:provides 		
			interface-name="generatedNs:Mail"
			service-name="generatedNs:testMail"
			endpoint-name="testMailEndpoint">
	
			
			<petalsCDK:timeout>30000</petalsCDK:timeout>
			<petalsCDK:validate-wsdl>true</petalsCDK:validate-wsdl>
		
<petalsCDK:forward-security-subject>false</petalsCDK:forward-security-subject>
		
<petalsCDK:forward-message-properties>false</petalsCDK:forward-message-properties>
			<petalsCDK:forward-attachments>false</petalsCDK:forward-attachments>
			<petalsCDK:wsdl>MailService.wsdl</petalsCDK:wsdl>
		
				
			<mail:scheme>smtp</mail:scheme>
			<mail:host>smtp.gmail.com</mail:host>
			<mail:port>465</mail:port>
			<mail:user>****@gmail.com</mail:user>
			<mail:password>****</mail:password>
			<mail:from>****@gmail.com</mail:from>
			<mail:reply>***@gmail.com</mail:reply>
			<mail:to>****@gmail.com</mail:to>
			<mail:subject>test petals mail</mail:subject>
			<mail:send-mode>content-and-attachments</mail:send-mode>			
		</jbi:provides>
	</jbi:services>

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.

Can anyone help me, I'm getting mad.

Regards. 


_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/petals-bc-mail-Can-t-connect-to-SMTP-host-tp2842999p2842999.html
To start a new topic under General (discussions and announcements), email ml-node+2681633-491280268-385908 at n3.nabble.com
To unsubscribe from General (discussions and announcements), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681633&code=Z2VuZXJhbEBmb3J1bS5wZXRhbHNsaW5rLm9yZ3wyNjgxNjMzfDM0MTAxNjA5NA==
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/general/attachments/20110420/a123d970/attachment.htm>


More information about the General mailing list