How to configure automatic email notifications via gmail for every backup job

Was that a new add or the old one? If old one, maybe you typed one then had usual two added?

If you can repro the problem from scratch, it would be interesting. Regardless, glad you solved it.

This was something that has been untouched for a long time. I have the same problem on another container host I use duplicati on and just looked at it and found the same 3 dashes in that config as well. My guess is “something” modified for me, but without getting under the hood to find a last changed file date I wouldnt know when that was. I have watchtower update these containers and noticed I wasnt getting emails so googled when I saw the error in my logs and found this thread. I am not going to put blame on devs and a release to have modified my settings either, so who knows… if this was my work and production it would have been snapped shot before updated, then I would have had something to restore elsewhere to compare to for the Senior Management’s RCA document they all love to see, but its my homelab and I let it update and 99.9% of the time nothing ever gives me problems. This is the odd case and it was minor being email notifications and nothing more. The jobs still ran and backed up…

I tried but nothing works. In addition, there is no visibility as to what’s happening. No logs found in Profiling or even when the log output was directed to a text file.

Did you see my comment that you have emails configured off for successful backups?

How about posting an “Export As Command-line” with sensitive information redacted?

Or at least post current email parts. Keep quoting alone while redacting that command.

Yes, the emails were configured to send All emails. Here is the current config along with quotes and just the info redacted. Send mail password is app password for Gmail. I believe the quotes are only used for --send-mail-level and not for others:

–send-mail-from=________
–send-mail-to=________
–send-mail-level=“all”
–send-mail-url=smtp://smtp.gmail.com:587/?starttls=always
–send-mail-username=________
–send-mail-password=________
–send-mail-subject=Backup

Is this part of the Export As Command-line or GUI? If GUI, don’t quote, as it stops emails.

I was using GUI. Right when you are configuring, the text info states:

"


"
It specifically states to use quotes and does not make any mention of command-line or GUI.

As soon as I removed the quotes, it started working. Thanks for all your help!

It states nothing like that in words. It does have quotes, but that’s how technical writing works:

Punctuation in a quotation in technical settings: when exact punctuation must be preserved, and disambiguating punctuation-as-part-of-quotation from punctuation-as-used-in-regular-English

You can see what it means by looking at the directions (quoting phrase) and comparing to box:

So when it said Default value: "all" it means the specific word all, and put that in the box.

Glad it worked. This confused someone else in 2018, I find… There’s a pointer to the code there.

1 Like

Thanks but it’s confusing to the say the least.

It’s like saying use quotes but don’t use quotes :slight_smile: