Send mail when backup fails

Fixes #9
This commit is contained in:
Girish Ramakrishnan
2016-10-14 14:46:34 -07:00
parent 4fbce26877
commit 4313d8a28c
3 changed files with 39 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
<%if (format === 'text') { %>
Dear Cloudron Team,
Backup of <%= fqdn %> failed.
Thank you,
Your Cloudron
-------------------------------------
<%- message %>
<% } else { %>
<% } %>