Humberto,
I'm not sure, but from googling around I see that "You may get this error
when you are trying to send an e-mail using gmail server in java."
Try making this change:
mail.extraproperties = mail.smtp.starttls.enable=true, \
mail.smtp.socketFactory.port=587, \
mail.smtp.socketFactory.fallback=false*, \*
* mail.smtp.ssl.trust=smtp.gmail.com
<http://smtp.gmail.com>*
I saw this suggestion here:
http://javainfinite.com/error-and-solution/javax-mail-messagingexception-could-not-convert-socket-to-tls/
Maybe it's not the gmail server but the mail server you are using, so
smtp.gmail.com might need to be *outlook.office365.com
<http://outlook.office365.com>*.
This is really just a guess.
Hope it helps.
-Jose
On Tue, Dec 8, 2020 at 10:25 AM Humberto Blanco Castillo <
[email protected]> wrote:
> My dspace server was working with the following configuration
>
> *mail.server = outlook.office365.com <http://outlook.office365.com>*
> *mail.server.username = [email protected] <[email protected]>*
> *mail.server.password = mypassword*
> *mail.server.port = 587*
> *mail.from.address = [email protected] <[email protected]>*
> *mail.feedback.recipient = ${mail.from.address}*
> *mail.admin = ${mail.from.address}*
> *mail.alert.recipient = ${mail.from.address}*
> *mail.registration.notify = ${mail.from.address}*
>
> *mail.extraproperties = mail.smtp.starttls.enable=true, \*
>
> * mail.smtp.socketFactory.port=587, \*
> * mail.smtp.socketFactory.fallback=false*
>
> But a few days ago it stopped working,:
>
> *About to send test email:*
> * - To: [email protected] <[email protected]>*
> * - Subject: DSpace test email*
> * - Server: outlook.office365.com <http://outlook.office365.com>*
>
>
> *Error sending email:*
> * - Error: javax.mail.SendFailedException: Send failure
> (javax.mail.MessagingException: Could not convert socket to TLS
> (javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is
> disabled or cipher suites are inappropriate)))*
>
>
> the only modification its that now we are working with openjdk
> *openjdk version "1.8.0_272"*
> *OpenJDK Runtime Environment (build 1.8.0_272-b10)*
> *OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)*
>
>
> Any knows why of this error, or giveme any ligtha about this?
>
> really appreciate your help
>
>
>
> Humberto,
>
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/f92ecb2e-d98d-4535-944a-d7b7e1eba897n%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/f92ecb2e-d98d-4535-944a-d7b7e1eba897n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-u3B-t_6L0FV%3DYwuPGOkSK3MRMv_Mi2_BUfDzNK1upe%3Dw%40mail.gmail.com.