Giter VIP home page Giter VIP logo

email_verifier's People

Contributors

francescognarra avatar kamilc avatar mzabaljauregui avatar rabsztok avatar zealot128 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

email_verifier's Issues

SMTP connections are not being closed.

Some servers not support many concurrent SMTP connections.

SMTP raised: 421 Too many concurrent SMTP connections from this IP address; please try again later. until remove all served so EmailVerifier raise: EmailVerifier :: OutOfMailServersException: Unable to connect to any one of ...

Connections are closed by timeout.

Release new version without ActiveSupport dependency

I was so confused playing with this locally why it was erroring without active support! I looked at the code and saw you were checking if it was defined, and it all looked good, and finally I realized that was done in latest commit and not part of the 0.9 release! Please release the updated version, I might build a gem including this, a Gemfile can point straight at github but another gem can't unless it's published.

Uninitialized constant EmailVerifier

Hi,
I am getting "NameError: uninitialized constant EmailVerifier" while running this.
EmailVerifier.check("any valid email here")

Please help.
Thanks

How can I disable MX verification?

I am getting an error that when I try to verify a valid email from crepelocks.com.br,(eg [email protected]) I get NoMailServerException, but this is ocurring because the crepelocks dns was configured in a wrong way, but the email is real and exists. I already send an email to this and it works, and using http://www.verifyemailaddress.org/ the verification says to me that this email is valid.

Requires 1.9.3

In rubygems.org this is shown as the ruby dependency:

Ruby >= 0

However it seems to use ruby 1.9.x hash syntax which is (unfortunately for me) incompatible with 1.8.7.

I have an older app that I haven't yet upgraded the ruby of yet, and can't use your gem.

Looking at the source however, i was able to make small modification to use a local copy just by changing the few places where you use 1.9.x syntax.

It may not be forward-looking, but you may get more users of your gem if you made this small adjustment. Many older apps that are still running might benefit.

Ben.

Error - Limit Exceeded

Your gem is amazing, but in some cases I got this error with a couple of emails

$ EmailVerifier.check("[email protected]")
Dnsruby::DecodeError: limit exceeded
limit = 512, index = 617, len = 

    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:1006:in `rescue in get_label'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:1000:in `get_label'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:993:in `get_labels'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:967:in `get_name'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:1018:in `get_rr'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:611:in `block (2 levels) in decode'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:610:in `times'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:610:in `block in decode'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:879:in `initialize'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:600:in `new'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/message.rb:600:in `decode'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/select_thread.rb:440:in `get_incoming_data'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/select_thread.rb:239:in `block in process_ready'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/select_thread.rb:230:in `each'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/select_thread.rb:230:in `process_ready'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/select_thread.rb:208:in `do_select'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/dnsruby-1.54/lib/Dnsruby/select_thread.rb:136:in `block in check_select_thread_synchronized'

Returning false status for correct emails ids also...

Hi,

Thanks for the awesome gem... But in some cases it is returning false for correct email ids also.

Do we need to add any additional support to this gem to support latest data ??

If so, kindly let me know...

Thanks,
Mallikarjuna

Not working in EC2

I have configured below, in local development working well. But when deploying to Production can not working.

EmailVerifier.config do |config| config.verifier_email = ENV["EMAIL_USER_NAME"] config.test_mode = Rails.env.test? end

Can you give me advice?

Thank you.
Rainy.

Allow using proxy to prevent greylist / blacklist / block list?

First, thank you for the library!

Wrote a program recently to verify quite a large list of addresses (400k+), using this gem. The program runs multiple threads to run through the list more quickly. However it seems with some email servers — AOL/AIM, and ALL Microsoft domains (Hotmail, MSN, Live.com) — they've set some sort of unknown timeout/throttling.

I've managed to get myself blocked from the Microsoft email family of servers, as EmailVerifier is giving me this repeatedly:

550 SC-002 (COL004-MC5F35) Unfortunately, messages from [MY IP] weren't sent. 
Please contact your Internet service provider since part of their network is on our block list.
You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors.

I think a possible way around this would be to round-robin each request through a list of SOCKS proxy IPs, but see no possible way to do that with Net::SMTP.

Anyone else of the mind that this should be a possibility, using a service like ProxyBonanza?

EmailValidator method doesn't exist, EmailVerifier crashes server.

Steps to reproduce bug:

  • Add gem to gemfile
  • Add config to application.rb
  • Use EmailValidator.check(youremail) in a helper (like mentioned in Readme.md)
  • This gives the error that EmailValidator doesn't exist. Sounds logical, because in the gem itself only the EmailVerifier is mentioned.
  • Use EmailVerifier.check(youremail) in a helper instead
  • Looks like an endless loop, browser is stuck loading, as well as the log/console output

Using Rails 3.2.14

Thank you very much in advance, love the work you've done.

Not working on heroku

I have tried to use it on heroku and it is not working.But works fine in my local machine.
I am using it inside a model and code of model is below

class User < ActiveRecord::Base
attr_accessible :email
validates_email_realness_of :email
end

Errors in log of heroku application was

 Started POST "/publics/check" for 203.129.204.133 at 2013-03-27 07:13:00 +0000
2013-03-27T07:13:00+00:00 app[web.1]: Processing by PublicsController#check as HTML
2013-03-27T07:13:00+00:00 app[web.1]:   Parameters: {"utf8"=>"✓", "authenticity_token"=>"dzbG3EPTpIHIKELLK/kJkYAz41lqQR37x1klfafXH5Q=", "email"=>"[email protected]", "commit"=>"Submit"}
2013-03-27T07:13:00+00:00 app[web.1]: script/rails: No such file or directory - host -t MX gmail.com
2013-03-27T07:13:00+00:00 app[web.1]: Completed 500 Internal Server Error in 11ms
2013-03-27T07:13:00+00:00 app[web.1]: 
2013-03-27T07:13:00+00:00 app[web.1]: NoMethodError (undefined method `scan' for nil:NilClass):
2013-03-27T07:13:00+00:00 app[web.1]:   app/controllers/publics_controller.rb:8:in `check'

How to resolve error client host blocked

I installed and added following code to application.rb

EmailVerifier.config do |config|
config.verifier_email = "[email protected]"
end

but when i tried to use this
EmailVerifier.check("[email protected]")
I'm getting following error
554 5.7.1 ACL dns_rbl; Client host [182.72.244.66] blocked using sa-ip4tset.blagr.emailsrvr.com=127.24.0.2 Spamhaus XBL. Please visit http://www.spamhaus.org/lookup/ for more information on why this message could not be delivered

Help me to resolve this!

License missing from gemspec

RubyGems.org doesn't report a license for your gem. This is because it is not specified in the gemspec of your last release.

via e.g.

spec.license = 'MIT'
# or
spec.licenses = ['MIT', 'GPL-2']

Including a license in your gemspec is an easy way for rubygems.org and other tools to check how your gem is licensed. As you can imagine, scanning your repository for a LICENSE file or parsing the README, and then attempting to identify the license or licenses is much more difficult and more error prone. So, even for projects that already specify a license, including a license in your gemspec is a good practice. See, for example, how rubygems.org uses the gemspec to display the rails gem license.

There is even a License Finder gem to help companies/individuals ensure all gems they use meet their licensing needs. This tool depends on license information being available in the gemspec. This is an important enough issue that even Bundler now generates gems with a default 'MIT' license.

I hope you'll consider specifying a license in your gemspec. If not, please just close the issue with a nice message. In either case, I'll follow up. Thanks for your time!

Appendix:

If you need help choosing a license (sorry, I haven't checked your readme or looked for a license file), GitHub has created a license picker tool. Code without a license specified defaults to 'All rights reserved'-- denying others all rights to use of the code.
Here's a list of the license names I've found and their frequencies

p.s. In case you're wondering how I found you and why I made this issue, it's because I'm collecting stats on gems (I was originally looking for download data) and decided to collect license metadata,too, and make issues for gemspecs not specifying a license as a public service :). See the previous link or my blog post about this project for more information.

Dead mail server on active company email

Using this email_verifier to verify an email that uses a company domain name causes an out of mail server error. So when a user puts in [my-name]@[my-company].com, they get the "Email appears to point at a dead mail server" error message. This shouldn't happen since it is a real, actively used account.

EmailVerifier::OutOfMailServersException

Hi I'd like to use your gem, however I am getting the exception mentioned in the title.
Probably I am doing something wrong, but I am not able to find it.
I have put in bit at the end of application.rb

EmailVerifier.config do |config|
config.verifier_email = "[email protected]"
end

when trying to check any email from console I receive:
EmailVerifier::OutOfMailServersException: Unable to connect to any one of mail servers for ...

I did tried to change the config.verifier_email to my email address, but no lucky.
I am using a MacBook Pro and
ruby 2.0.0p481
gem 'rails', '3.2.18'

Could you help me please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.