From 4c8f40e208fb280384bc85cda6c2f6e1417dabd6 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Sun, 8 Sep 2024 20:32:21 -0500 Subject: [PATCH] Use text instead of HTML --- resend_borg_error.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resend_borg_error.py b/resend_borg_error.py index 794781a..a2edfb5 100755 --- a/resend_borg_error.py +++ b/resend_borg_error.py @@ -13,8 +13,8 @@ resend.api_key = subprocess.run( params: resend.Emails.SendParams = { "from": "Borgmatic ", "to": ["hyperreal@fedoraproject.org"], - "subject": "Error running Borgmatic", - "html": "There was an error running your Borgmatic backup. Please investigate.", + "subject": "[moonshadow] Error running Borgmatic", + "text": "There was an error running your Borgmatic backup on moonshadow. Please investigate.", } email = resend.Emails.send(params)