Spaces:
Running
Running
Commit
·
4166c9e
1
Parent(s):
dc556f2
fix issue
Browse files
app.py
CHANGED
@@ -124,8 +124,8 @@ def send_message(user_input):
|
|
124 |
try:
|
125 |
# Create the email message
|
126 |
print("sending mail")
|
127 |
-
print(
|
128 |
-
with smtplib.SMTP("smtp.gmail.com",
|
129 |
connection.starttls()
|
130 |
connection.login(MY_EMAIL, MY_PASSWORD)
|
131 |
connection.sendmail(from_addr=MY_EMAIL,
|
|
|
124 |
try:
|
125 |
# Create the email message
|
126 |
print("sending mail")
|
127 |
+
print(MY_PASSWORD)
|
128 |
+
with smtplib.SMTP("smtp.gmail.com",3000) as connection:
|
129 |
connection.starttls()
|
130 |
connection.login(MY_EMAIL, MY_PASSWORD)
|
131 |
connection.sendmail(from_addr=MY_EMAIL,
|