Use text instead of HTML

This commit is contained in:
Jeffrey Serio 2024-09-08 20:32:21 -05:00
parent f9cf2b76e7
commit 4c8f40e208

View File

@ -13,8 +13,8 @@ resend.api_key = subprocess.run(
params: resend.Emails.SendParams = { params: resend.Emails.SendParams = {
"from": "Borgmatic <onboarding@resend.dev>", "from": "Borgmatic <onboarding@resend.dev>",
"to": ["hyperreal@fedoraproject.org"], "to": ["hyperreal@fedoraproject.org"],
"subject": "Error running Borgmatic", "subject": "[moonshadow] Error running Borgmatic",
"html": "There was an error running your Borgmatic backup. Please investigate.", "text": "There was an error running your Borgmatic backup on moonshadow. Please investigate.",
} }
email = resend.Emails.send(params) email = resend.Emails.send(params)