Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (15 sloc) 590 Bytes
Usage
=====
Add following entry in your config/environment.rb
config.gem 'email_veracity_checker', :lib => "email_check"
How to use:
#first param is user email address
#second sender address
#third param is domain address
#Note: It's not sending email, at the end point they quit connection.
EmailCheck.run("kiran@joshsoftware.com","no-reply@joshsoftware.com","joshsoftware.com").valid?
It's return true or false
Notes
=====
1) Based on: https://github.com/skillnet/validates_email_with_smtp
2) Not really ideal in production because those mail servers might block you