[ 
https://jira.duraspace.org/browse/DS-1551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kostas Stamatis updated DS-1551:
--------------------------------

    Status: Accepted  (was: Volunteer Needed)
    
> Empty mail.server.username causes AuthenticationFailedException
> ---------------------------------------------------------------
>
>                 Key: DS-1551
>                 URL: https://jira.duraspace.org/browse/DS-1551
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>    Affects Versions: 3.1
>            Reporter: Àlex Magaz Graça
>            Assignee: Kostas Stamatis
>             Fix For: 3.2
>
>         Attachments: fix-empty-mail.server.username.patch
>
>
> If mail.server.username is left empty in build.properties (as suggested in 
> the comments), sending an email fails with 
> javax.mail.AuthenticationFailedException.
> The reason is that mail.server.username ends up with an empty string as a 
> value (from the java.util.Properties point of view), but 
> org.dspace.core.Email only checks for it being null to decide whether to use 
> authentication or not.
> The attached patch solves the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to