diff --git a/app/api/services/register.py b/app/api/services/register.py index b324f51..aad84ad 100644 --- a/app/api/services/register.py +++ b/app/api/services/register.py @@ -126,7 +126,7 @@ def send_register_mail(signup_email, email_uid,last_row_id,firstname): # For Gmail, use 'smtp.gmail.com' and port 587 (TLS) or 465 (SSL) # For other providers, consult their documentation for SMTP server and port server = smtplib.SMTP('smtp.gmail.com', 587) - server.starttls() # Enable TLS encryption + # server.starttls() # Enable TLS encryption server.login(sender_email, sender_password) server.sendmail(sender_email, receiver_email, msg.as_string()) print("Email sent successfully!")