You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've noticed an unexpected behavior regarding the mail notification.
When the SMTP authentication is resulting in an error, the mail is purged instead of being kept and sent later.
Steps to reproduce
Set on purpose a wrong SMTP password
Generate an activity (adding a user to a group for example)
Hello,
I've noticed an unexpected behavior regarding the mail notification.
When the SMTP authentication is resulting in an error, the mail is purged instead of being kept and sent later.
Steps to reproduce
occ activity:send-mails
Expected behaviour
The mail queue shouldn't be purged and my mail should be postponed until the SMTP password is corrected.
Actual behaviour
The mail queue is purged and my mail lost.
From my limited understanding, the smtp error should be caught by this code: https://github.com/nextcloud/activity/blob/master/lib/MailQueueHandler.php#L364, however the string
Failed sending activity email to user
is nowhere to be seen in my logs. Neither are the other error strings I could find on the codebase (missing email, invalid email address, parser error...)Server configuration
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Logs
Nextcloud log (data/nextcloud.log)
Best regards,
The text was updated successfully, but these errors were encountered: