lib/truemail/validate/mx.rb in truemail-1.2.1 vs lib/truemail/validate/mx.rb in truemail-1.3.0
- old
+ new
@@ -22,10 +22,10 @@
%i[hosts_from_mx_records? hosts_from_cname_records? host_from_a_record?]
end
def mx_lookup
host_extractor_methods.any? do |method|
- Truemail::Wrapper.call { send(method) }
+ Truemail::Wrapper.call(configuration: configuration) { send(method) }
end
end
def fetch_target_hosts(hosts)
mail_servers.push(*hosts)