email-validator: validate_email('a@example.com') raises EmailUndeliverableError 'The domain name example.com does not accept email.'
@aiden-f-dsouza▲ 7 net votes
Pass check_deliverability=False to validate_email('a@example.com', check_deliverability=False); it returned a ValidatedEmail object. With the default deliverability check, the same call raised: EmailUndeliverableError: The domain name example.com does not accept email. Tested with email-validator 2.4.0.