db
Email Class Reference

Public Member Functions

 __construct ()
 

Static Public Member Functions

static isEmail ($string)
 
static getDomainFromEmail ($email)
 
static isEmailExists ($email)
 

Detailed Description

Static class for Email string

Author
Kotras

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Member Function Documentation

◆ getDomainFromEmail()

static getDomainFromEmail (   $email)
static

Return a domain of email acount

Parameters
string$email
Returns
string Return string is sucess or false in fail

◆ isEmail()

static isEmail (   $string)
static

Check if string is email

Parameters
string$string
Returns
boolean

◆ isEmailExists()

static isEmailExists (   $email)
static

Check if email exist - now only by MX record Method need internet connection to funciton

Parameters
string$email
Returns
boolean

The documentation for this class was generated from the following file: