mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
Fix service initialization and behaviour when authentication is required
This commit is contained in:

committed by
Mark H. Wood

parent
f70c72893e
commit
ca58b047e4
@@ -103,7 +103,8 @@ public class EmailServiceImpl
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
session = Session.getInstance(null, this);
|
props.put("mail.smtp.auth", "true");
|
||||||
|
session = Session.getInstance(props, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set extra configuration properties
|
// Set extra configuration properties
|
||||||
|
Reference in New Issue
Block a user