Closed dspace-bot closed 15 years ago
stuartlewis said:
Patch attached.
Adds new options in dspace.cfg:
mwood said:
As written this throws an exception when using recent (e.g. 1.5. releases of Sun JRE, since the com.sun.net.ssl.internal.ssl.Provider() is subject to an access restriction. It should not be necessary to add this provider; since about Java 1.3 it should be pre-loaded by the stock security property settings.
I hacked out the addProvider() call and the mail goes through.
stuartlewis said:
Hi Mark,
My Java 1.6 installations have no problem with this. However, as you say the mail.ssl.enable code seems to be redundant. Am happy to remove it if you want?
Thanks,
Stuart
stuartlewis said:
Code updated, removed unrequired code and config:
jtrimble said:
Just caught this needed to be added to Configuration documentation. Done.
Imported from JIRA [DS-234] created by stuartlewis
At present, if you want to configure DSpace to send emails via a security protected server (e.g. gmail) then you have to edit the DSpace java class to add in some extra parameter settings. It would be good if additional parameters and values can be passed from dspace.cfg
(see: http://www.mail-archive.com/dspace-devel@lists.sourceforge.net/msg01098.html)