From 6190f892ba29e82807cb158de2b2ce82c37c8caf Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Mon, 27 May 2024 00:54:59 +0530 Subject: [PATCH] fix[debugging-email-app]: trying to make some adjustments to make email app work --- email/1.1.0/src/app.py | 2 +- email/1.2.0/src/app.py | 2 +- email/1.3.0/src/app.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/email/1.1.0/src/app.py b/email/1.1.0/src/app.py index 8b2868c8..6dbac7db 100644 --- a/email/1.1.0/src/app.py +++ b/email/1.1.0/src/app.py @@ -64,7 +64,7 @@ def send_email_shuffle(self, apikey, recipients, subject, body): elif "," in recipients: targets = recipients.split(",") - data = {"targets": targets, "body": body, "subject": subject, "type": "alert"} + data = {"targets": targets, "body": body, "subject": subject, "type": "alert", "email_app": True} url = "https://shuffler.io/functions/sendmail" headers = {"Authorization": "Bearer %s" % apikey} diff --git a/email/1.2.0/src/app.py b/email/1.2.0/src/app.py index 23993bf8..700c9890 100644 --- a/email/1.2.0/src/app.py +++ b/email/1.2.0/src/app.py @@ -67,7 +67,7 @@ def send_email_shuffle(self, apikey, recipients, subject, body): elif "," in recipients: targets = recipients.split(",") - data = {"targets": targets, "body": body, "subject": subject, "type": "alert"} + data = {"targets": targets, "body": body, "subject": subject, "type": "alert", "email_app": True} url = "https://shuffler.io/functions/sendmail" headers = {"Authorization": "Bearer %s" % apikey} diff --git a/email/1.3.0/src/app.py b/email/1.3.0/src/app.py index 51406b65..dbdc4d75 100644 --- a/email/1.3.0/src/app.py +++ b/email/1.3.0/src/app.py @@ -68,7 +68,7 @@ def send_email_shuffle(self, apikey, recipients, subject, body): elif "," in recipients: targets = recipients.split(",") - data = {"targets": targets, "body": body, "subject": subject, "type": "alert"} + data = {"targets": targets, "body": body, "subject": subject, "type": "alert", "email_app": True} url = "https://shuffler.io/functions/sendmail" headers = {"Authorization": "Bearer %s" % apikey}