> --send-mail-subject=Duplicati %OPERATIONNAME% report for %backup-name%: %PARSEDRESULT%
I put the same thing as on my thunderbird smtp that works, there is in the thunderbird settings: OAuth2
Is this what can be a problem and if so, how to put it on?
I was able to send emailed reports from Duplicati using both SMTPS on port 465 and SMTP with STARTLS on port 587 using a gmail.com account.
Also, one other thing is that in the settings you have provided you have configured Duplicati not to send emails unless there is an error with the backup job in the “send-mail-level” setting. Are you experiencing errors for which you are expecting to get an email?
Does the one backup job that doesn’t send mail have any mail settings set on it that are different from the ones that are set in the General settings? If it does, the settings on the specific job will override the ones in the General settings:
The log message you included indicates that the message was not sent due to the username and/or password not being correct. I can’t think of another reason why some jobs would work and others would not unless the specific job had different settings on it.
This doesn’t say much about what was actually attempted, so to pick on one specific thing to confirm:
Is https://myaccount.google.com/lesssecureapps set to this?
Changing to that will probably produce some alert to your gmail, smartphone, etc. to warn you about it.
I’m not clear on your thunderbird result. Did you say it worked with same settings? OAuth2 is different.
How to add Gmail SMTP in Thunderbird describes some steps that you may or may not have followed, however if you followed them, then I think you got OAuth2 authentication which Duplicati email can’t do.