Class

MailUtil

Package: IO\Mail Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2016 11 15 Since: PHPBoost 3.0 - 2010 04 12 Contributor: Regis VIARRE crowkait@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Contributor: mipel mipel@phpboost.com Located at: io/mail/MailUtil.class.php

This class provides you utilities for emails.

Methods summary
public static boolean
# is_mail_valid( string $mail_address )

Check whether the mail address is valid, it respects the mail RFC

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.

Annonces