[
https://jira.duraspace.org/browse/DS-1551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Masár updated DS-1551:
---------------------------
Status: Volunteer Needed (was: Received)
> 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
> 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
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel