Dspace can accommodate Gmail service to send emails.
Email settings reside in dspace.cfg file. Open the Terminal and apply following commands to add gmail configuration:
sudo su
leafpad /dspace/config/dspace.cfg
Find following each chunk of lines the configuration file and add Gmail credentials.
# SMTP mail server
mail.server = smtp.gmail.com
# SMTP mail server authentication username and password (if required)
mail.server.username = tom@gmail.com
mail.server.password = gmailpassword
# From address for mail
mail.from.address = tom@gmail.com
# Currently limited to one recipient!
feedback.recipient = tom@gmail.com
# General site administration (Webmaster) e-mail
mail.admin = tom@gmail.com
Find the following line,
mail.server.port = 465
Comment it,
#mail.server.port = 465
Remove comment in the following lines;
#mail.extraproperties = mail.smtp.socketFactory.port=465, \
# mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
# mail.smtp.socketFactory.fallback=false
It should look like after uncomment the lines;
mail.extraproperties = mail.smtp.socketFactory.port=465, \
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
mail.smtp.socketFactory.fallback=false
Save and close the file.
Go to the following link and disable security settings:
https://www.google.com/settings/security/lesssecureapps
References
http://sunitabarve123.blogspot.in/2015/02/dspace-on-gmail.html
http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/
Email settings reside in dspace.cfg file. Open the Terminal and apply following commands to add gmail configuration:
sudo su
leafpad /dspace/config/dspace.cfg
Find following each chunk of lines the configuration file and add Gmail credentials.
# SMTP mail server
mail.server = smtp.gmail.com
# SMTP mail server authentication username and password (if required)
mail.server.username = tom@gmail.com
mail.server.password = gmailpassword
# From address for mail
mail.from.address = tom@gmail.com
# Currently limited to one recipient!
feedback.recipient = tom@gmail.com
# General site administration (Webmaster) e-mail
mail.admin = tom@gmail.com
Find the following line,
mail.server.port = 465
Comment it,
#mail.server.port = 465
Remove comment in the following lines;
#mail.extraproperties = mail.smtp.socketFactory.port=465, \
# mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
# mail.smtp.socketFactory.fallback=false
It should look like after uncomment the lines;
mail.extraproperties = mail.smtp.socketFactory.port=465, \
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
mail.smtp.socketFactory.fallback=false
Save and close the file.
Go to the following link and disable security settings:
https://www.google.com/settings/security/lesssecureapps
References
http://sunitabarve123.blogspot.in/2015/02/dspace-on-gmail.html
http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/
superb
ReplyDeleteleafpad /opt/tomcat/webapps/jspui/layout/header-default.jsp
ReplyDeleteafter this command in my pc that leafpad was opening blank
and allowed to replace logo in Dspace folder
plz instruct me wht ill do for that other wise plz change trough remote access if when u ill free
Dspace working?
Delete