A problem occurred while sending the email. Please revise your settings

Getting error on nextcloud 20.1

Test email settings A problem occurred while sending the email. Please revise your settings. (Error: Failed to create cache directory /tmp/6d1f7089b71615bc829978c2676abef5)

Wouldn’t it be a good idea to check the access rights of the /tmp-directory, if Nextcloud cannot create a directory in that folder?!

ls -ald /tmp

ls -ald /tmp
drwxrwxrwx 2 root root 4096 Nov 17 14:29 /tmp

I would recommend to change the access rights to at least 1777 for /tmp.

Nevertheless the wrong access rights don’t explain why error message is logged.

Please add DETAILED information about your environment, the used software and app versions, related log messages from the Nextcloud log file and provided a DETAILED step-by-step guide how to reproduce the problem.

After reboot email is sent :smiley:

Thanks for your support