"PasswordRecoveryException: Cannot send mail to reset the password: Could not reach the mail server. Please contact the server " baasbox smtp gmail

29 views
Skip to first unread message

Iresh

unread,
Jan 18, 2018, 3:16:22 AM1/18/18
to BaasBox
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

email.fromThe name and address to specify in the from field of the email to send. Example: example.comiresh...@gmail.com
network.smtp.authenticationSet to TRUE if the SMTP server requires authentication.true
network.smtp.hostIP ADDRESS or fully qualified name of the SMTP server.smtp.gmail.com
network.smtp.portThe TCP port of the SMTP server.465
network.smtp.sslEnable or disable the SSL protocol for the SMTP server.true
network.smtp.tlsEnable or disable the TLS protocol for the SMTP server.false
network.smtp.userThe username required by the SMTP server when authentication is required. Used only if network.smtp.authentication is set to TRUEiresh...@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": [
            "52.4.27.162:9000"
        ]
    },
    "API_version": "0.9.5"
}


Reply all
Reply to author
Forward
0 new messages