README.md in truemail-1.0.1 vs README.md in truemail-1.1.0
- old
+ new
@@ -72,9 +72,14 @@
# Optional parameter. Total of connection attempts. It is equal to 2 by default.
# This parameter uses in mx lookup timeout error and smtp request (for cases when
# there is one mx server).
config.connection_attempts = 3
+ # Optional parameter. You can predefine default validation type for
+ # Truemail.validate('email@email.com') call without with-parameter
+ # Available validation types: :regex, :mx, :smtp
+ config.default_validation_type = :mx
+
# Optional parameter. You can predefine which type of validation will be used for domains.
# Also you can skip validation by domain. Available validation types: :regex, :mx, :smtp
# This configuration will be used over current or default validation type parameter
# All of validations for 'somedomain.com' will be processed with regex validation only.
# And all of validations for 'otherdomain.com' will be processed with mx validation only.