Add no_smtp argument to README

This commit is contained in:
Sergey Shevchenko 2021-02-11 18:48:35 +04:00
parent 607ae44ce8
commit 8f08c01523
No known key found for this signature in database
GPG Key ID: 356B0EBCAA35DFF7
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ Basic usage::
:code:`debug`: emit debug/warning messages while checking email
:code:`no_smtp`: not send SMTP HELO requests when checking for an email
The function :code:`validate_email_or_fail()` works exactly like :code:`validate_email`, except that it raises an exception in the case of validation failure instead of returning :code:`False`.
The module will try to negotiate a TLS connection with STARTTLS, and silently fall back to an unencrypted SMTP connection if the server doesn't support it.