[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/class/ -> MP_Swift_EmailValidator.class.php (summary)

(no description)

File Size: 215 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MP_Swift_EmailValidator:: (9 methods):
  __construct()
  getInstance()
  isValid()
  basics()
  rfc822()
  rfc2822()
  rfc653x()
  isValid_rfc2822()
  RFC_2822_Validation()


Class: MP_Swift_EmailValidator  - X-Ref

A class to encapsulate Egulias Email Validator

__construct()   X-Ref
No description

getInstance()   X-Ref
No description

isValid( $email )   X-Ref

param: string $email

basics( $email )   X-Ref
basics

For the record (wikipedia) :
the format of email addresses is : local-part@domain-part
the local  part may be up to 64 characters long and the domain may have a maximum of 255 characters.
the domain part is a list of dot-separated DNS labels, each label being limited to a length of 63 characters
this rule is only applied by function rfc822 (so email gets validated by either two others) !

param: string $email

rfc822( $email )   X-Ref
rfc822 - Standard for the Format of ARPA Internet Text Messages

For the record (php.net) :
This validates e-mail addresses against the syntax in RFC 822,
with the exceptions that comments and whitespace folding
and dotless domain names are not supported.

param: string $email

rfc2822( $email )   X-Ref
rfc2822 - Internet Message Format

inspired by deprecated Swift_Mime_Grammar

param: string $email

rfc653x( $email )   X-Ref
rfc6530 - Overview and Framework for Internationalized Email
rfc6531 - SMTP Extension for Internationalized Email
rfc6532 - Internationalized Email Headers

param: string $email

isValid_rfc2822( $email )   X-Ref

param: string $email

RFC_2822_Validation()   X-Ref
No description



Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1