emailVerification

package module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: MIT Imports: 6 Imported by: 0

README

About

A email verification tool

Start Local Instance

Install Taskfile on your machine, then from terminal run: task run

Operating System Tools Needed

How to version

git tag v0.1.0

git push origin v0.1.0

Run locally

go run internal/main.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailInformation

type EmailInformation struct {
	Username string `json:"username"`
	Domain   string `json:"domain"`
	Valid    bool   `json:"valid"`
}

type Response added in v0.1.4

type Response struct {
	Email              string `json:"email"`
	Domain             string `json:"domain"`
	MXRecordFound      bool   `json:"mxRecordFound"`
	SPFRecordFound     bool   `json:"spfRecordFound"`
	SPFRecordContent   string `json:"spfRecordContent"`
	DMARCRecordFound   bool   `json:"dmarcRecordFound"`
	DMARCRecordContent string `json:"dmarcRecordContent"`
	IsThrowawayEmail   bool   `json:"isThrowAwayEmail"`
}

func Verify

func Verify(email string) (Response, error)

retrieves email and dns information

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL