##### Email settings ######
# SMTP mail server (allows DSpace to send email notifications)
mail.server =
smtp.gmail.com# SMTP mail server authentication username and password (if required)
mail.server.username = ****@
gmail.commail.server.password = 16 digit app password
# SMTP mail server alternate port (defaults to 25)
mail.server.port = 587
# From address for mail
# All mail from the DSpace site will use this 'from' address
mail.from.address = ***@
gmail.com# Name of a pre-configured Session object to be fetched from a directory.
# This overrides the Session settings above. If none can be found, then DSpace
# will use the above settings to create a Session.
#
mail.session.name = Session
# When feedback is submitted via the Feedback form, it is sent to this address
# Currently limited to one recipient!
feedback.recipient = ***@
gmail.com# General site administration (Webmaster) e-mail
# System notifications/reports and other sysadmin emails are sent to this address
mail.admin =***@
gmail.com# Recipient for server errors and alerts (defaults to mail.admin)
alert.recipient = ${mail.admin}
# Recipient for new user registration emails (defaults to unspecified)
registration.notify = ${mail.admin}
# Set the default mail character set. This may be overridden by providing a line
# inside the email template "charset: <encoding>", otherwise this default is used.
mail.charset = UTF-8
# A comma-separated list of hostnames that are allowed to refer browsers to email forms.
# Default behaviour is to accept referrals only from dspace.hostname
mail.allowed.referrers = ${dspace.hostname}
# Pass extra settings to the Java mail library. Comma-separated, equals sign between
# the key and the value. For example:
mail.extraproperties = mail.smtp.socketFactory.port=587, \
mail.smtp.starttls.enable=true, \
mail.smtp.starttls.required=true, \
mail.smtp.ssl.protocols=TLSv1.2
So please anyone can guide us to solve the problem.