"Request was rejected due to server error" when Mail related features are done

  • What’s your URL? https://parathan.com/

  • What version of Ghost are you using?
    Latest Version Used

  • How was Ghost installed and configured? Self-Hosted, Ghost CLI

  • What Node version, database, OS & browser are you using?
    v12.21.0
    MySQL
    Ubuntu
    Firefox

  • What errors or information do you see in the console?
    No any errors or logs. It takes time to load and then says “Request was rejected due to server error”

  • What steps could someone else take to reproduce the issue you’re having? After installation setting up membership feature for free sign up. I checked the button to have free members as well

Failed to send email. Reason: connect ECONNREFUSED 127.0.0.1:25.

This error comes when I click forget password functionality in Sign In Page

Mail config:

“mail”: {
“transport”: “SMTP”,
“service”: “Gmail”,
“host”: “smtp.gmail.com”,
“port”: 587,
“auth”: {
“user”: " ",
“pass”: " "
}
},