Hi!
I use servicemix-mail from SM 3.3-SNAPSHOT component for sending
messages, but I can not configuring it properly:
always I get SMTP and port 25
I tried to set smtps (for gmail.com), also stupid "imap", set custom
port, but in log I always get
DEBUG: setDebug: JavaMail version 1.4ea
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Su
n Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "gmail.com", port 25, isSSL false
ERROR - MailComponent - Error sending mail...
javax.mail.MessagingException: Could not connect to SMTP host:
gmail.com, port: 25;
nested exception is:
I use servicemix 3.2.1, but mail-poller component works good.
My mail:sender in xbean.xml looks like following:
<mail:sender service="octpMail:mailSenderService"
endpoint="senderEndpoint"
sender="[EMAIL PROTECTED]"
receiver="[EMAIL PROTECTED]"
debugMode="true"
connection="smtps://[EMAIL PROTECTED]"
/>
Thanks,
Ivan Pryvalov.