email sent
This commit is contained in:
@@ -132,6 +132,7 @@ def send_register_mail(signup_email, email_uid,last_row_id,firstname):
|
|||||||
print("Email sent successfully!")
|
print("Email sent successfully!")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error sending email: {e}")
|
print(f"Error sending email: {e}")
|
||||||
|
logger.error(f"Error sending email: {e}")
|
||||||
finally:
|
finally:
|
||||||
server.quit() # Close the connection
|
server.quit() # Close the connection
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user