Method | Description | |
---|---|---|
check ( string | array $emails ) : array | Check if email(s) is(are) valid. You can send one or an array of emails. | |
checkDns ( string $email ) : boolean | Check for DNS MX records of the email domain. Notice that a (temporary) DNS error will have the same result as no records were found. Code coverage ignored because this method requires DNS requests that could not be reliable. | |
getDomain ( string | array $emails ) : array | Get domains from email addresses. The not valid email addresses will be skipped. | |
getDomainSorted ( array $emails ) : array | Get domains from email addresses in alphabetical order. | |
getGravatarBuiltInDefaultImage ( ) : string | ||
getGravatarBuiltInImages ( ) : array | ||
getGravatarUrl ( string $email, integer $size = 32, string $defaultImage = 'identicon' ) : null | string | Generates an Gravatar URL. |
Method | Description | |
---|---|---|
_extractDomain ( string $email ) : string | ||
_handleEmailsInput ( string | array $emails ) : array | Transforms strings in array, and remove duplicates. | |
_isValid ( string $email ) : boolean |
public static getDomainSorted ( array $emails ) : array | ||
$emails | array | |
return | array |
public static getGravatarBuiltInDefaultImage ( ) : string | ||
return | string |
public static getGravatarBuiltInImages ( ) : array | ||
return | array |