email sent

This commit is contained in:
CHIEFSOFT\ameye
2025-07-08 21:46:20 -04:00
parent 54c7a6d216
commit 783626ee8f
+1
View File
@@ -132,6 +132,7 @@ def send_register_mail(signup_email, email_uid,last_row_id,firstname):
print("Email sent successfully!")
except Exception as e:
print(f"Error sending email: {e}")
logger.error(f"Error sending email: {e}")
finally:
server.quit() # Close the connection