Thiết lập máy chủ DSpace SMTP cho phép sử dụng email | Cấu hình SMTP Gmail Dspace

 DSpace SMTP server setup for enabling Emails | Dspace Gmail SMTP Configuration

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:
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



INSTALLATION GUIDE
View the installation guide clip at:

Post a Comment

Previous Post Next Post

Back to top