
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
This gem provide you library to validate, parsing and format email. Check is email is real or not.
Add this line to your application's Gemfile:
gem 'cogi_email'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cogi_email
Check if a string is a valid email address.
CogiEmail.validate? 'nobi.younet@gmail.com' # => true
Normalize phone numer to international format.
CogiEmail.normalize 'Nobi.younet@gmail.com' # => 'nobi.younet@gmail.com'
CogiEmail.normalize '(Nobi)<nobi.younet@gmail.com>' # => 'nobi.younet@gmail.com'
Check if email domain is valid by making a DNS lookup.
CogiEmail.valid_email_domain? 'nobi.younet@gmail.com' # => true
CogiEmail.valid_email_domain? 'nobi.younet@localhost' # => false
Check if an email address is real or not.
An email address is real if:
CogiEmail.real_email? 'nobi.younet@gmail.com' # => true
CogiEmail.real_email? 'nobi.younet@localhost' # => false
Thank you Kamil Ciemniewski so much for writing email_verifier gem. I reference his gem to re-writing email checker for this gem.
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)Don't forget to add tests and run rspec before creating a pull request :)
See all contributors on https://github.com/hoahm/cogi_email/graphs/contributors.
FAQs
Unknown package
We found that cogi_email demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.