lib/cogi_email/checker.rb
##
# Returns server object for given email address or throws exception
# Object returned isn't yet connected. It has internally a list of
# real mail servers got from MX dns lookup
#
# Reference:
#   https://github.com/kamilc/email_verifier/blob/master/lib/email_verifier/checker.rb
Returns server object for given email address or throws exception
Object returned isn't yet connected. It has internally a list of
real mail servers got from MX dns lookup


Returns server object for given email address or throws exception Object returned isn ' t yet connected . It has internally a list of real mail servers got from MX dns lookup
def rcptto(address)
      ensure_connected
      begin
        ensure_250 @smtp.rcptto(address)
      rescue => e
        if e.message[/^550/]
          return false
        else
          raise CogiEmail::FailureException.new(e.message)
        end
      end
    end
def rcptto ( address ) ensure_connected begin ensure_250 @smtp . rcptto ( address ) rescue => e if e . message [ / ^550 / ] return false else raise CogiEmail :: FailureException . new ( e . message ) end end end
Returns server object for given email address or throws exception
Object returned isn't yet connected.
Returns server object for given email address or throws exception Object returned isn ' t yet connected .
address
<not_specific>