interface EmailVerifyManagerInterface in Email Verify 8.2
Provides an interface defining an email verify manager.
Hierarchy
- interface \Drupal\email_verify\EmailVerifyManagerInterface
Expanded class hierarchy of EmailVerifyManagerInterface
All classes that implement EmailVerifyManagerInterface
1 file declares its use of EmailVerifyManagerInterface
- EmailVerifyAdminForm.php in src/
Form/ EmailVerifyAdminForm.php - Contains \Drupal\email_verify\Form\EmailVerifyAdminForm.
File
- src/
EmailVerifyManagerInterface.php, line 13 - Contains \Drupal\email_verify\EmailVerifyManagerInterface.
Namespace
Drupal\email_verifyView source
interface EmailVerifyManagerInterface {
/**
* Runs a connection test against an email address.
*
* This will give an indication about whether the email address actually
* exists.
*
* @param string $email
* The email address to check.
*
*
* @return null
*
*/
public function checkEmail($email);
/**
* Runs a connection test against a host.
*
* This will give an indication about whether a host is a valid mail server.
*
* @param string $host
* The host address to check.
*
*
* @return null
*/
public function checkHost($host);
/**
* Make a connection to the mail server used by the host.
*
*This is found by checking MX records and connecting on port 25.
*
* @param string $host
* The host address to connect to.
*/
function connect($host);
/**
* Sets error messages.
*
* Protected function to set error messages.
*/
function setError($error);
/**
* Gets error messages.
*
* Public function to return the error messages.
*
*
* @return array
*/
public function getErrors();
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EmailVerifyManagerInterface:: |
public | function | Runs a connection test against an email address. | |
EmailVerifyManagerInterface:: |
public | function | Runs a connection test against a host. | |
EmailVerifyManagerInterface:: |
function | Make a connection to the mail server used by the host. | ||
EmailVerifyManagerInterface:: |
public | function | Gets error messages. | |
EmailVerifyManagerInterface:: |
function | Sets error messages. |