You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-07-04 15:01:57,332 ERROR [o.a.c.u.m.SMTPMailSender] (qtp1404565079-345:[ctx-80979faa]) (logid:0e1f5dee) Unable to send mail [Password Reset Request] to the recipcients [[{"mailAddress":"tatay@mymail.com"}]]. javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587;
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1961)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:125)
at org.apache.cloudstack.utils.mailing.SMTPMailSender.sendMail(SMTPMailSender.java:175)
at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:527)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:332)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:234)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927)
2025-07-04 15:01:57,336 DEBUG [o.a.c.u.UserPasswordResetManagerImpl] (qtp1404565079-345:[ctx-80979faa]) (logid:0e1f5dee) User password reset email for user UserAccount {"accountName":"domain1","id":5,"username":"tatay"}. account id: 5 domain id: 3 sent to tatay@mymail.com with token expiry at 2025-07-04T15:31:57.243+0000
2025-07-04 15:08:28,663 WARN [c.c.c.ConfigurationManagerImpl] (qtp1404565079-447:[ctx-7d09367d, ctx-af7db5cb]) (logid:37392271) Configuration user.password.reset.email.sender no found. Perhaps moved to ConfigDepot
2025-07-04 15:08:28,675 WARN [c.c.c.ConfigurationManagerImpl] (qtp1404565079-447:[ctx-7d09367d, ctx-af7db5cb]) (logid:37392271) Configuration user.password.reset.mail.template no found. Perhaps moved to ConfigDepot
We tested from the server and Works using the msmtp in Ubuntu
versions
ACS version 4.20.1
The steps to reproduce the bug
create an email account in Microsoft, with TLS and and AUTH port 587
there is no setting like "user.password.reset.useStartTLS".
should it be added , similar to alert.smtp.useStartTLS and quota.usage.smtp.useStartTLS, project.smtp.useStartTLS ?
Activity
[-]CS 4.20.1 Password Reset Functionality[/-][+]CS 4.20.1 Password Reset Functionality Java Error[/+]weizhouapache commentedon Jul 10, 2025
there is no setting like "user.password.reset.useStartTLS".
should it be added , similar to
alert.smtp.useStartTLSandquota.usage.smtp.useStartTLS,project.smtp.useStartTLS?cc @vishesh92
weizhouapache commentedon Oct 7, 2025
fixed by #11228
@tatay188
if you still face the same issue with upcoming 4.20.2 or 4.22, let us know
tatay188 commentedon Oct 7, 2025