[ https://issues.apache.org/jira/browse/FINERACT-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17449038#comment-17449038 ]
Francis Guchie commented on FINERACT-1389: ------------------------------------------ I am going to look through the code and revert most likely with a PR, I am also thinking that may be its the build of fineract i am using that might be missing the commit at https://github.com/apache/fineract/pull/1837 > Must issue a STARTTLS command first - Send Password to Email > ------------------------------------------------------------ > > Key: FINERACT-1389 > URL: https://issues.apache.org/jira/browse/FINERACT-1389 > Project: Apache Fineract > Issue Type: Bug > Components: User Management > Affects Versions: 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0 > Reporter: Francis Guchie > Assignee: Benura Abeywardena > Priority: Major > Fix For: 1.6.0 > > Attachments: image-2021-08-20-23-38-44-951.png > > > When I try to send password to email i get the following error > { > "developerMessage": "The request was invalid. This typically will happen due > to validation errors which are provided.", > "httpStatusCode": "400", > "defaultUserMessage": "Validation errors exist.", > "userMessageGlobalisationCode": "validation.msg.validation.errors.exist", > "errors": [ > { > "developerMessage": "Sending email failed; is parameter email is invalid? > More details available in server log: > org.springframework.mail.MailSendException: Failed messages: > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS > command first. l15sm4064471ilo.22 - gsmtp\n; message exceptions (1) > are:\nFailed message 1: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 > Must issue a STARTTLS command first. l15sm4064471ilo.22 - gsmtp\n", > "defaultUserMessage": "Sending email failed; is parameter email is invalid? > More details available in server log: > org.springframework.mail.MailSendException: Failed messages: > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS > command first. l15sm4064471ilo.22 - gsmtp\n; message exceptions (1) > are:\nFailed message 1: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 > Must issue a STARTTLS command first. l15sm4064471ilo.22 - gsmtp\n", > "userMessageGlobalisationCode": "error.msg.user.email.invalid", > "parameterName": "email", > "value": null, > "args": [ > { > "value": "francisguc...@gmail.com" > } > ] > } > !image-2021-08-20-23-38-44-951.png! -- This message was sent by Atlassian Jira (v8.20.1#820001)