I have successfully set up Duplicati to email me using the default settings and now I would like to send an email with a custom format. I understand that I can create a template message body in a file and point to it using the --send-mail-body “message_file.txt” option.
However, it appears that this must be a static file. What I am having trouble figuring out how to do is to create the message body dynamically based on the specific value of %RESULT%.
Is there a way to pass %RESULT% to a script that can dynamically create the message body that --send-mail-body would use?