Merge branch 'development' of https://github.com/Arathen/mylar into development

IMP: Added spam reminder.
This commit is contained in:
Arathen 2019-03-30 14:19:03 +11:00
commit 85fab87219
1 changed files with 1 additions and 1 deletions

View File

@ -5931,7 +5931,7 @@ class WebInterface(object):
result = email.test_notify()
if result == True:
return "Successfully sent email. Check your mailbox."
return "Successfully sent email. Check your mailbox (don't forget the spam!)."
else:
logger.warn('Email test has gone horribly wrong. Variables used were [FROM: %s] [TO: %s] [SERVER: %s] [PORT: %s] [USER: %s] [PASSWORD: ********] [ENCRYPTION: %s]' % (emailfrom, emailto, emailsvr, emailport, emailuser, emailenc))
return "Error sending test message via email"