{"id":36490490,"url":"https://github.com/cameronnewman/go-emailvalidation","last_synced_at":"2026-01-12T01:55:23.637Z","repository":{"id":52689648,"uuid":"142394226","full_name":"cameronnewman/go-emailvalidation","owner":"cameronnewman","description":"a simple Go library for email address validation","archived":false,"fork":false,"pushed_at":"2025-04-16T21:51:23.000Z","size":102,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-22T15:00:01.223Z","etag":null,"topics":["email-validation","emailvalidation","format","golang","golang-library","golang-package","host","mail","mailbox","user"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cameronnewman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-26T05:45:41.000Z","updated_at":"2024-04-30T07:34:09.000Z","dependencies_parsed_at":"2024-06-19T09:58:55.727Z","dependency_job_id":"92948485-e16d-49b0-b973-5a79e8c69cd6","html_url":"https://github.com/cameronnewman/go-emailvalidation","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/cameronnewman/go-emailvalidation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronnewman%2Fgo-emailvalidation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronnewman%2Fgo-emailvalidation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronnewman%2Fgo-emailvalidation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronnewman%2Fgo-emailvalidation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cameronnewman","download_url":"https://codeload.github.com/cameronnewman/go-emailvalidation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronnewman%2Fgo-emailvalidation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["email-validation","emailvalidation","format","golang","golang-library","golang-package","host","mail","mailbox","user"],"created_at":"2026-01-12T01:55:23.032Z","updated_at":"2026-01-12T01:55:23.633Z","avatar_url":"https://github.com/cameronnewman.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-emailvalidation\n\n[![Build][1]][2]\n[![GoDoc][3]][4]\n[![Go Report Card][5]][6]\n[![FOSSA Status][9]][10]\n\n[1]: https://github.com/cameronnewman/go-emailvalidation/workflows/pipeline/badge.svg\n[2]: https://github.com/cameronnewman/go-emailvalidation/actions/workflows/pipeline.yml/badge.svg\n[3]: https://godoc.org/github.com/cameronnewman/go-emailvalidation?status.svg\n[4]: https://godoc.org/github.com/cameronnewman/go-emailvalidation\n[5]: https://goreportcard.com/badge/github.com/cameronnewman/go-emailvalidation\n[6]: https://goreportcard.com/report/github.com/cameronnewman/go-emailvalidation\n[9]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fcameronnewman%2Fgo-emailvalidation.svg?type=shield\n[10]: https://app.fossa.io/projects/git%2Bgithub.com%2Fcameronnewman%2Fgo-emailvalidation?ref=badge_shield\n\n## Purpose\n\nSimple email validation package. Package supports either fast email validation via\nRFC compliant regex OR slower recursive DNS lookup. DNS validation checks for\nvalid NS \u0026 MX records using the local DNS settings.\n\n## Supported versions\n\nThe current version is v3\n\nPlease import via go modules `github.com/cameronnewman/go-emailvalidation/v3`.\n\n## Usage\n\n```golang\npackage main\n\nimport (\n    \"fmt\"\n\n    email \"github.com/cameronnewman/go-emailvalidation/v3\"\n)\n\nfunc main() {\n\n    emailAddress := \"John.Snow@gmaiiiiiiillllll.com\"\n\n    // Run all checks, including validating the format along with DNS lookups which\n    // may be slower depending on your DNS server performance\n    err := email.Validate(emailAddress)\n    if err != nil {\n        fmt.Println(err)\n    }\n\n    // Checks the format - this function performs no network\n    // operations and is very fast\n    err = email.ValidateFormat(emailAddress)\n    if err != nil {\n        fmt.Println(err)\n    }\n\n    // Checks domain NS \u0026 MX, along with format validation\n    err = email.ValidateDomainRecords(emailAddress)\n    if err != nil {\n        fmt.Println(err)\n    }\n\n    // Normalize email address for storage\n    address := email.Normalize(emailAddress)\n    fmt.Println(address)\n}\n```\n\n## Issues\n\n* None\n\n## License\n\nMIT Licensed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcameronnewman%2Fgo-emailvalidation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcameronnewman%2Fgo-emailvalidation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcameronnewman%2Fgo-emailvalidation/lists"}