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

Freeman Fang resolved SMXCOMP-767.
----------------------------------

    Fix Version/s: servicemix-mail-2010.02
       Resolution: Fixed

apply patch on behalf of Stan with thanks

http://svn.apache.org/viewvc?rev=957790&view=rev

> 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
>             Fix For: servicemix-mail-2010.02
>
>         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