Add function set_mail_hostname

This commit is contained in:
2025-12-22 12:11:13 +01:00
parent 481e179833
commit e3100e77b2
3 changed files with 17 additions and 10 deletions

View File

@@ -50,6 +50,12 @@ def valid_username(username):
return valid
def set_mail_domain():
if MAIL_SERVER:
hostname = app.config['MAIL_DOMAIN']
else:
hostname = None
def email_disp(email):
disp = True