Summary
- File
- Package hierarchy IO\Mail
- Class hierarchy \MailUtil
This class provides you utilities for emails.
This class provides you utilities for emails.
is_mail_valid(string $mail_address) : boolean
Check whether the mail address is valid, it respects the mail RFC
string | $mail_address |
true if the mail is valid, false otherwise
None found |
get_mail_checking_regex() : string
Return the RFC mail regex.
the mail regex
None found |
get_mail_checking_raw_regex() : string
Return the RFC mail regex without delimiters, it's commonly used for compatibility with javascript regex.
the mail regex without delimiters
None found |