SMTP Server Configuration In DSpace | Code Factory
1 min readDec 15, 2019
Reference Link : Link
Download DSpace : Link
Step 01 : Stop tomcat.
Step 02 : Open dspace.conf
(D: -> dspace -> config)
Step 03 : Edit properties or uncomment it.
mail.server = smtp.gmail.com
mail.server.username = username@gmail.com
mail.server.password = PASSWORD
mail.server.port = 465
mail.allowed.referrers = localhost
mail.extraproperties = mail.smtp.socketFactory.port=465, \
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
mail.smtp.socketFactory.fallback=false
Step 04 : Start tomcat.
(NOTE : If you change <dspace-x.x-src-release> -> dspace -> config -> dspace.conf then you must Build and Configure the dspace and then start tomcat)