Skip to content
Permalink
Browse files
do send email
  • Loading branch information
Humbedooh committed Mar 29, 2022
1 parent b30334e commit 8250f050a1cc13588ec936fb011270da6ebaca29
Showing 1 changed file with 2 additions and 2 deletions.
@@ -28,7 +28,7 @@
import typing

CONFIG_FILE = "notifier.yaml"
SEND_EMAIL = False
SEND_EMAIL = True
RE_PROJECT = re.compile(r"(?:incubator-)?([^-]+)")
RE_JIRA_TICKET = re.compile(r"\b([A-Z0-9]+-\d+)\b")
DEFAULT_DIFF_WAIT = 10
@@ -200,7 +200,7 @@ def handle_payload(self, raw):
print(real_text)
# print(msgid)
# print(msg_headers)
if SEND_EMAIL: # NOT YET!
if SEND_EMAIL:
recipient = self.config["default_recipient"]
asfpy.messaging.mail(
sender="GitBox <git@apache.org>",

0 comments on commit 8250f05

Please sign in to comment.