Wajahat698 commited on
Commit
479b51c
·
verified ·
1 Parent(s): 530abf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -116,8 +116,8 @@ def send_feedback_via_email(name, email, feedback):
116
  """Sends an email with feedback details."""
117
  smtp_server = 'smtp.yourdomain.com' # Replace with GoDaddy SMTP server
118
  smtp_port = 587 # Typically 587 for TLS, 465 for SSL
119
- smtp_user = EMAIL_ADDRESS # Replace with your email
120
- smtp_password = Password # Replace with your SMTP password
121
 
122
  msg = MIMEMultipart()
123
  msg['From'] = smtp_user
 
116
  """Sends an email with feedback details."""
117
  smtp_server = 'smtp.yourdomain.com' # Replace with GoDaddy SMTP server
118
  smtp_port = 587 # Typically 587 for TLS, 465 for SSL
119
+ smtp_user = os.getenv("EMAIL_ADDRESS")
120
+ smtp_password = os.getenv("Password")
121
 
122
  msg = MIMEMultipart()
123
  msg['From'] = smtp_user