mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Change test eMail address to accomodate RFC2606-sensitive mailservers (Z#134234)
This commit is contained in:
@@ -27,7 +27,7 @@ class CustomSMTPBackend(EmailBackend):
|
||||
if code != 250:
|
||||
logger.warn('Error testing mail settings, code %d, resp: %s' % (code, resp))
|
||||
raise SMTPResponseException(code, resp)
|
||||
(code, resp) = self.connection.rcpt('test@example.com')
|
||||
(code, resp) = self.connection.rcpt('testdummy@pretix.eu')
|
||||
if (code != 250) and (code != 251):
|
||||
logger.warn('Error testing mail settings, code %d, resp: %s' % (code, resp))
|
||||
raise SMTPResponseException(code, resp)
|
||||
|
||||
Reference in New Issue
Block a user