Hi,
I am using baasbox for the authentication of the project. I want to implement password recovery function with baasbox/smtp gmail. i have done all the things according to these links but Im still getting an error when im trying to send the request via POSTMAN to check. Please help me to fix this it is urgent
Here are the links that i have fallowed
The configuration i have entered to the settings of password recovery section
| network.smtp.authentication | Set to TRUE if the SMTP server requires authentication. | true |
| network.smtp.host | IP ADDRESS or fully qualified name of the SMTP server. | smtp.gmail.com |
| network.smtp.port | The TCP port of the SMTP server. | 465 |
| network.smtp.ssl | Enable or disable the SSL protocol for the SMTP server. | true |
| network.smtp.tls | Enable or disable the TLS protocol for the SMTP server. | false |
| network.smtp.user | The username required by the SMTP server when authentication is required. Used only if network.smtp.authentication is set to TRUE | iresh...@gmail.com |
The response when im sending the request
{
"result": "error",
"message": "PasswordRecoveryException: Cannot send mail to reset the password: Could not reach the mail server. Please contact the server administrator",
"resource": "/user/iresh/password/reset",
"method": "GET",
"request_header": {
"X-BAASBOX-APPCODE": [
"1234567890"
],
"Postman-Token": [
"2c3fdcac-c8af-e095-17d8-9e99cc38d417"
],
"Connection": [
"keep-alive"
],
"Accept": [
"*/*"
],
"Cache-Control": [
"no-cache"
],
"X-BB-SESSION": [
"6d31400d-61b6-4c8a-b74c-c2e71cf616fa"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"Accept-Encoding": [
"gzip, deflate"
],
"User-Agent": [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
],
"Host": [
]
},
"API_version": "0.9.5"
}