[ 
https://issues.apache.org/activemq/browse/SMXCOMP-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang moved SM-1956 to SMXCOMP-767:
------------------------------------------

        Project: ServiceMix Components  (was: ServiceMix)
            Key: SMXCOMP-767  (was: SM-1956)
    Component/s: servicemix-mail
                     (was: servicemix-mail)

> It should be possible to set the username/password via a header/property for 
> the servicemix-mail provider
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-767
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-767
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-mail
>            Reporter: Stan Lewis
>            Assignee: Freeman Fang
>            Priority: Minor
>         Attachments: SM-1956.txt
>
>
> The main use-case for this is to actually avoid putting the username/password 
> in the xbean.xml and instead obtain the username/password from an encrypted 
> store and dynamically set these to be used by the servicemix-mail provider 
> when it connects to the SMTP server. Currently the username, password, host 
> and port are only read when the SU is deployed and it appears there's no 
> header or property that the servicemix-mail provider checks before connecting 
> to SMTP and sending the message.
> This patch adds this functionality, also removes a little duplicate code.

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

Reply via email to