app/controllers/api/snaps_controller.rb
## Returns true/false depending on if the email is reachable
Returns true/false depending on if the email is reachable
Returns true / false depending on if the email is reachable
def validateEmail
	email = params[:email]
	emailValid = Truemail.valid?(email)
	render json: emailValid 
  end
def validateEmail email = params [ :email ] emailValid = Truemail . valid? ( email ) render json : emailValid end
Returns true/false depending on if the email is reachable
Returns true / false depending on if the email is reachable