Releases: truemail-rb/truemail
Releases · truemail-rb/truemail
v0.1.7
- Added PTR record audit, #18
- Updated gem documentation
- Updated gem wiki
- Updated gem version to
0.1.7
P.S.: Thanks @AlexeyDemidov for PTR check feature idea.
v0.1.6
Fixed MX gem logic with RFC 7505: https://tools.ietf.org/html/rfc7505
- Added null MX record supporting, #27
- Added multihomed MX records supporting, #28
- Added contributing guideline
- Updated gem documentation
- Updated gem wiki
- Updated gem version to
0.1.6
P.S.: Thanks @AlexeyDemidov for analysis and tips for improvement/correction Truemail MX logic.
v0.1.5
v0.1.4
Fixed MX gem logic with RFC 5321: https://tools.ietf.org/html/rfc5321#section-5
- Added checking A record presence if
MX
andCNAME
records not exist, #10 - Added handling of
CNAME
records, #11 - Added checking A record if
MX
andCNAME
records not found, #12 - Added supporting of multihomed MX records, conversion host names to ips, #17
- Timeout configuration for DNS resolver, #13
- Added
.valid?
helper - Updated gem version to
0.1.4
P.S.: Thanks @AlexeyDemidov for deep analysis Truemail gem logic.
v0.1.3
- Fixed default
REGEX_EMAIL_PATTERN
#7:
- local part of address can't start with a dot or special symbol
- local part of address can include
+
symbol
- Fixed default
REGEX_DOMAIN_PATTERN
#8:
- TLD size increased up to 63 characters
- Fixed bug with case sensitive domain names #9:
- Added independent domain name extractor to
Truemail::Validate::Mx#run
- Updated gem version to
0.1.3
P.S.: Thanks @AlexeyDemidov for deep analysis Truemail gem logic.
v0.1.2
Added 'SMTP safe check' option for cases when SMTP server does not return an exact answer that the email does not exist.
Truemail.configure do |config|
config.verifier_email = 'verifier@example.com'
config.smtp_safe_check = true
end
Truemail.validate('email@example.com')
# Successful SMTP validation
=> #<Truemail::Validator:0x0000000002ca2c70
@result=
#<struct Truemail::Validator::Result
success=true,
email="email@example.com",
domain="example.com",
mail_servers=["mx1.example.com"],
errors={},
smtp_debug=
[#<Truemail::Validate::Smtp::Request:0x0000000002c95d40
@configuration=
#<Truemail::Configuration:0x0000000002c95b38
@connection_timeout=2,
@email_pattern=/regex_pattern/,
@response_timeout=2,
@smtp_safe_check=true,
@validation_type_by_domain={},
@verifier_domain="example.com",
@verifier_email="verifier@example.com">,
@email="email@example.com",
@host="mx1.example.com",
@response=
#<struct Truemail::Validate::Smtp::Response
port_opened=true,
connection=false,
helo=
#<Net::SMTP::Response:0x0000000002c934c8
@status="250",
@string="250 mx1.example.com\n">,
mailfrom=false,
rcptto=nil,
errors={:mailfrom=>"554 5.7.1 Client host blocked\n", :connection=>"server dropped connection after response"}>>,]>,
@validation_type=:smtp>