mail configuration

103 views
Skip to first unread message

Jayachristrayar S

unread,
Jan 13, 2025, 1:44:47 AM1/13/25
to DSpace Technical Support
Hello everyone, 
anyone please help me out
Error shows during test mail. i configured my .cfg file like this 

# EMAIL CONFIGURATION #
#######################

# SMTP mail server (allows DSpace to send email notifications)
mail.server = smtp.hostinger.com

# SMTP mail server authentication username and password (if required)
mail.server.username = in...@naankirukkan.in
mail.server.password = dspace *****

# SMTP mail server alternate port (defaults to 25)
mail.server.port = 465
mail.server.useSSL=true
mail.server.useTLS=false
# From address for mail
# All mail from the DSpace site will use this 'from' address
mail.from.address = in...@naankirukkan.in
log4j.logger.org.dspace.core.Email=DEBUG

# When feedback is submitted via the Feedback form, it is sent to this address
# Currently limited to one recipient!
feedback.recipient = in...@naankirukkan.in

# General site administration (Webmaster) e-mail
mail.admin = in...@naankirukkan.in

# Helpdesk E-mail
#mail.helpdesk = ${mail.admin}
#mail.helpdesk.name = Help Desk

# 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 = true


  sudo /dspace/bin/dspace test-email

About to send test email:
 - To: in...@naankirukkan.in
 - Subject: DSpace test email
 - Server: smtp.hostinger.com

Error sending email:
 - Error: jakarta.mail.MessagingException: Could not connect to SMTP host: smtp.hostinger.com, port: 465;
  nested exception is:
        javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

Please see the DSpace documentation for assistance.

Martin Kijumi

unread,
Jul 10, 2025, 7:37:37 AM7/10/25
to DSpace Technical Support
i have the same problem, i need help 

DSpace Technical Support

unread,
Jul 16, 2025, 12:25:11 PM7/16/25
to DSpace Technical Support
Hi,

If you google that error: " Unsupported or unrecognized SSL message", you'll get this advice:

The error "Unsupported or unrecognized SSL message" typically indicates a problem with the SSL/TLS connection between a client and server. This often happens when the client is trying to use SSL/TLS with a server that doesn't support it, or when the client and server are using incompatible SSL/TLS protocols or versions. It can also occur if the client is connecting to a regular HTTP server using HTTPS.

Generally, this usually is an indication that your configuration is incorrect in some way.  You may want to double check that your configuration in DSpace matches the recommended configuration of the mail server you are trying to use.

Tim
Reply all
Reply to author
Forward
0 new messages