[
https://issues.apache.org/activemq/browse/SM-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45583#action_45583
]
Ivan Pryvalov commented on SM-1568:
-----------------------------------
1. class MailSenderEndpoint :
method processInOut and method processInOnly:
snippet from code:
...
Transport.send(msg);
...
Found issue:
it is not possible to use SMTPS (for example, gmail)
connection: smtps://[EMAIL PROTECTED]
Steps to resolve:
replace snippet from code with
...
Transport transport = session.getTransport();
transport.connect(
MailSenderEndpoint.this.config.getHost(),
MailSenderEndpoint.this.config.getPort(),
MailSenderEndpoint.this.config.getUsername(),
MailSenderEndpoint.this.config.getPassword()
);
transport.sendMessage(msg, msg.getAllRecipients());
transport.close();
...
> SMTPS does not word
> -------------------
>
> Key: SM-1568
> URL: https://issues.apache.org/activemq/browse/SM-1568
> Project: ServiceMix
> Issue Type: Bug
> Environment: SMX 3.3-SMAPSHOT
> Reporter: Ivan Pryvalov
> Fix For: 3.3
>
>
> it is not possible to use SMTPS (for example, gmail)
> connection: smtps://[EMAIL PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.