Note: This documentation is for Moodle 2.7. For up-to-date documentation see error/auth email/auth emailnoemail.

error/auth email/auth emailnoemail

From MoodleDocs

The error message 'Tried to send you an email but failed!' is most likely due to an incorrect SMTP server configuration.