/mailchecker-go

Temporary (disposable/throwaway) email detection library in Go(Golang)

Primary LanguageGoMIT LicenseMIT

mailchecker-go Build Status

This is a Go(Golang) libary for detecting temporary (disposable/throwaway) emails.

This is based on MailChecker but due to implementation details it cannot be added to the platform list of MailChecker.

Installation

go get github.com/gernest/mailchecker-go

How to use

package main

import (
	"fmt"

	"github.com/gernest/mailchecker-go"
)

func main() {
	ok, err := mailchecker.Valid("gernest@20minutemail.co")
	if !ok {
		fmt.Println(err)
	}
}

Contributing

Start with clicking the star button to make the author and his neighbors happy. Then fork the repository and submit a pull request for whatever change you want to be added to this project.

If you have any questions, just open an issue.

Author

Geofrey Ernest

Twitter : @gernesti

Licence

This project is released under the MIT licence. See LICENCE for more details.