1
0
mirror of https://github.com/AfterShip/email-verifier.git synced 2025-02-06 10:02:30 +00:00
email-verifier/smtp_by_api.go
QiuChengQuan 297b5f6f61
Remove gmail api verifier (#113)
* # support gmail & yahoo smtp check by api
* # upgrade go
* # fix CI

Co-authored-by: qiuchengquan <OisCircle>
Co-authored-by: Herbert Lu <15816537946@163.com>
2024-09-11 15:57:58 +08:00

13 lines
277 B
Go

package emailverifier
const (
YAHOO = "yahoo"
)
type smtpAPIVerifier interface {
// isSupported the specific host supports the check by api.
isSupported(host string) bool
// check must be called before isSupported == true
check(domain, username string) (*SMTP, error)
}