You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ivan Pryvalov (JIRA)" <ji...@apache.org> on 2008/09/10 12:08:52 UTC

[jira] Commented: (SM-1568) SMTPS does not word

    [ 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://j.test.my.test%40gmail.com@smtp.gmail.com?password=xxxx


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://j.test.my.test%40gmail.com@smtp.gmail.com?password=xxxx

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.