We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f84aba commit ceaa3b7Copy full SHA for ceaa3b7
apps/pushnotification/smtp.py
@@ -3,18 +3,19 @@
3
import os
4
from dotenv import load_dotenv, find_dotenv
5
6
+port = 465 # For starttls
7
+smtp_server = "smtp.gmail.com"
8
+sender_email = "[email protected]"
9
+subject = "Message from Ticketmaster Ticket-Tracker"
10
+
11
12
13
def send_email(to_email, message):
14
15
load_dotenv(find_dotenv())
16
- port = 465 # For starttls
- smtp_server = "smtp.gmail.com"
- sender_email = "[email protected]"
17
receiver_email = to_email
18
password = "?????????" # The password is stored in local
- subject = "Message from Ticketmaster Ticket-Tracker"
19
20
message = """\
21
Subject: Hi there
0 commit comments