An open API service indexing awesome lists of open source software.

https://github.com/gernest/mailchecker-go

Temporary (disposable/throwaway) email detection library in Go(Golang)
https://github.com/gernest/mailchecker-go

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# mailchecker-go [![Build Status](https://travis-ci.org/gernest/mailchecker-go.svg)](https://travis-ci.org/gernest/mailchecker-go)

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

This is based on [MailChecker](https://github.com/FGRibreau/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

```go
package main

import (
"fmt"

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

func main() {
ok, err := mailchecker.Valid("[email protected]")
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](https://twitter.com/gernesti)

# Licence

This project is released under the MIT licence. See [LICENCE](LICENCE) for more details.