Spaces:
Build error
Build error
Update app.py
Browse files300 unmodified lines301302303304305306307300 unmodified lines# Create SMTP session for sending the mailprint(body)context = ssl.create_default_context()with smtplib.SMTP(smtp_server, 587) as server:server.ehlo() # Can be omittedserver.starttls(context=context)server.ehlo() # Can be omitted300 unmodified lines301302303304305306307300 unmodified lines# Create SMTP session for sending the mailprint(body)context = ssl.create_default_context()with smtplib.SMTP("smtp.gmail.com", 587) as server:server.ehlo() # Can be omittedserver.starttls(context=context)server.ehlo() # Can be omitted
app.py+1-1