Class

MailUtil

Package: io Author: Benoit Sautel <ben.popeye@phpboost.com>, Régis Viarre <crowkait@phpboost.com> Desc: This class provides you utilities for emails. Located at io/mail/MailUtil.class.php
Methods summary
public static boolean
# is_mail_valid( string $mail_address )
public static string
# get_mail_checking_regex( )

Return the RFC mail regex.

public static string
# get_mail_checking_raw_regex( )

Return the RFC mail regex without delimiters, it's commonly used for compatibility with javascript regex.