It is an error due to invalid Moodle SMTP configuration and invalid Moodle settings.
Visit the Moodle Outgoing Mail Configuration settings and confirm the validity of the SMTP settings you've provided.
Ensure that you correctly configured the SMTP port, host, authentication type, username, password, and security configurations.
Additionally, using a mail server like Google, you must use TLS security and port 587.
View all errors