Cannot Get Email Alerts to Work

Hi
I cannot get email alerts to work, I’m getting a warking from all my backups since adding the following:

–send-mail-level=“Success,Warning,Error,Fatal”
--send-mail-to=support@powersoft-services.co.uk,dvp@tstravel.co.uk
–send-mail-from=Duplicati@psmf1.local
–send-mail-url=smtp://psmailserver1.powersoft.local:25
–send-mail-subject=“Duplicati %OPERATIONNAME% report for %backup-name%”

Our mailserver is setup to not require authentication from machines on our domain.

I get an alert on the home page for each backup, but nothing in the log. I assume this is because I have not got something right yet :slight_smile:

Any advice welcome.

Thanks
David

What does the alert say? Does “nothing in the log” mean nothing wrong, no log, or something else?

If no log, make sure you also try Viewing the Duplicati Server Logs at Home → About → Show log

The SEND-MAIL command is one way to test that by itself, without worrying about what backup did.

What OS is this, and is it GUI, CLI, script, or something else? You give syntax that looks sort of CLI.

Thank you for comming back. I have fixed the problem by putting " round the subject line. I’m now getting email and no warnings :slight_smile:

I’m kind of confused. Original already had the double quotes:

Regardless I’m glad it helped. If this gets in a Windows batch file, any % has to be %%.