Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 841 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 841 Bytes

Email Verifier Tool

This email verifier tool will check MX (Mail Exchange) and security checks such as SPF (Sender Policy Framework) and DMARC (Domain-based Message Authentiation, Reporting and Conformance) while verifying the given mail server.

Installation

go get github.com/peterhyperaung/emailverifier

License

MIT License

Documentation

Import the package

import "github.com/peterhyperaung/emailverifier"

Check Email

// CheckEmail(email string) bool
emailverifier.CheckEmail("example@gmail.com")

Validate Email Format

// ValidateEmailFormat(email string) bool
emailverifier.ValidateEmailFormat("example@gmail.com")