CrystalEmail
Version, currently 0.2.35 versions
- 0.2.6latestJul 14, 2021
- 0.2.4not indexedJul 14, 2021
- 0.2.3not indexedJul 14, 2021
- 0.2.3.1not indexedJul 14, 2021
- 0.2.2.2not indexedJul 14, 2021
github.com/place-labs/CrystalEmail
A RFC compliant Email validator :email:
Nothing has been indexed for 0.2.3 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
CrystalEmail:
github: place-labs/CrystalEmail
version: ~> 0.2.3Then run:
shards installshard.yml
No shard.yml has been indexed for 0.2.3. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
Migrated to https://git.sceptique.eu/Sceptique/CrystalEmail
A RFC compliant Email validator
Prelude
- What is an Email Address ?
- What is a Domain Name ?
Compliance
To do
- To do : rfc 6530.
- To do : Implement IPv6
Notes
- No ipv6 for now
- No escaped characters
- Public email validity (no raw ip, domain withour root domain, ...)
Installation
Works with crystal 0.17 - 0.27.0
Add this to your application's shard.yml:
dependencies:
CrystalEmail:
github: place-labs/CrystalEmail
## Usage in Crystal
require "CrystalEmail"
# Pure Rfc5322
CrystalEmail::Rfc5322.validates? "toto@tata" # => true
CrystalEmail::Rfc5322.match "toto@tata" # => #<MatchData "toto@tata" local:"toto" domain:"tata">
CrystalEmail::Rfc5322.validates? "toto" # => false
CrystalEmail::Rfc5322.match "toto" # => nil
# Rfc5322 + Internet basic usage
CrystalEmail::Rfc5322::Public.validates? "toto@tata.com" # => true
CrystalEmail::Rfc5322::Public.match "toto@tata.com" # => #<MatchData "toto@tata" local:"toto" domain:"tata.com">
"toto@toto.toto".is_email? # => true
Contributes !
Find a bug ? Want a new feature ? Create a clear pull request and we'll see :)
- Nephos (poulet_a)
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.3- Tagged
- Jul 14, 2021
- Commit
3e19f2fbfce6- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/place-labs/CrystalEmail
Metadata
- Created
- Aug 17, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 5