Dear all,
I am trying to configure Dspace to use an email server in the cloud with the
following parameters:
Server name: pod51018.outlook.com
Port: 587
cryptographic protocol: TLS
The dspace.cfg file have the following configuration:
mail.server = pod51018.outlook.com
# SMTP mail server authentication username and password (if required)
mail.server.username = user
mail.server.password = password
# SMTP mail server alternate port (defaults to 25)
mail.server.port = 587
.
.
.
# Pass extra settings to the Java mail library. Comma-separated, equals sign
between
# the key and the value. For example:
mail.extraproperties = mail.smtp.starttls.enable=true, \
mail.smtp.socketFactory.port=587, \
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
mail.smtp.socketFactory.fallback=false
But I have the following error when I try to send an email to reset user
password:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at
sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:671)
at sun.security.ssl.InputRecord.read(InputRecord.java:504)
at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at
sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:882)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
at
com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at
com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
at
com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
at
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at org.dspace.core.Email.send(Email.java:366)
Can anybody help me to solve this problem?
Thanks,
Ing. Oscar Sánchez G., MAE
Profesional en TI
Biblioteca José Figueres Ferrer
Instituto Tecnológico de Costa Rica
* Tel: 2550-2135
7 Fax: 2591-4820
* Apdo Postal: 159-7050
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette