Correcting blatant error
This commit is contained in:
parent
dfa64abb60
commit
01b2d9030c
|
@ -45,7 +45,6 @@ def mx_check(
|
|||
smtp.mail(from_address)
|
||||
code, message = smtp.rcpt(email_address)
|
||||
smtp.quit()
|
||||
return True
|
||||
if code == 250:
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue