(3.3.2) Moodle cannot send emails, google SMTP

(3.3.2) Moodle cannot send emails, google SMTP

by Pals Pally -
Number of replies: 1

Greetings, im trying to configure moodle to use googles SMTP server of my gmail account, but i cant get it to work, 

i used this guide:

https://docs.moodle.org/33/en/Email_setup_gmail

entered all the info correctly, but i get these error messeges in the server log:

SyntaxEditor Code Snippet

17] [fcgid:warn] [pid 9411:tid 140120254494464] [client 78.28.195.35:9712] mod_fcgid: stderr: Default exception handler: Error sending password change confirmation email Debug: , referer: http://xx/xx/login/forgot_password.php
[Thu Sep 21 10:18:13.573437 2017] [fcgid:warn] [pid 9411:tid 140120254494464] [client 78.28.195.35:9712] mod_fcgid: stderr: Error code: cannotmailconfirm, referer: http://xxx/xx/login/forgot_password.php
[Thu Sep 21 10:18:13.573444 2017] [fcgid:warn] [pid 9411:tid 140120254494464] [client 78.28.195.35:9712] mod_fcgid: stderr: * line 503 of /lib/setuplib.php: moodle_exception thrown, referer: http://xxx/xx/login/forgot_password.php
[Thu Sep 21 10:18:13.573449 2017] [fcgid:warn] [pid 9411:tid 140120254494464] [client 78.28.195.35:9712] mod_fcgid: stderr: * line 110 of /login/lib.php: call to print_error(), referer: http://xxx/xx/login/forgot_password.php
[Thu Sep 21 10:18:13.573454 2017] [fcgid:warn] [pid 9411:tid 140120254494464] [client 78.28.195.35:9712] mod_fcgid: stderr: * line 81 of /login/forgot_password.php: call to core_login_process_password_reset_request(), referer: http://xx/xx/login/forgot_password.php

Is this something in Moodle, or is it a server side problem? any suggestions and solutions would be appreciated. 

Average of ratings: -
In reply to Pals Pally

Re: (3.3.2) Moodle cannot send emails, google SMTP

by Pals Pally -

I managed to solve the problem by allowing my servers connection to in my gimail account settings, turns out server and moodle had nothing to do with it smile