Public Member Functions | |
setLax ($lax=true) | |
setDebug ($debug=true) | |
setEncoding ($encoding= 'UTF-8') | |
parse ($s) | |
Data Fields | |
const | ST_lookingForStartOfMail = 'ST_lookingForStartOfMail' |
const | ST_inAngleMail = 'ST_inAngleMail' |
const | ST_inMail = 'ST_inMail' |
const | ST_inQuotedDisplayName = 'ST_inQuotedDisplayName' |
const | ST_lookingForAngleMail = 'ST_lookingForAngleMail' |
const | ST_lookingForSeparator = 'ST_lookingForSeparator' |
const | ST_end = 'ST_end' |
Definition at line 35 of file Class.MailAddrParser.php.
parse | ( | $s | ) |
Parse the given string and extract objects
$s |
MailAddrParserException |
Definition at line 139 of file Class.MailAddrParser.php.
setDebug | ( | $debug = true | ) |
Print debugging information with PHP's error_log()
Default is bool(false)
bool | $debug |
Definition at line 73 of file Class.MailAddrParser.php.
setEncoding | ( | $encoding = 'UTF-8' | ) |
Set Multi-Byte string encoding.
Default is 'UTF-8'.
string | $encoding |
Definition at line 84 of file Class.MailAddrParser.php.
setLax | ( | $lax = true | ) |
Set laxist mode and do not throw exceptions. Misunderstood elements will be skipped.
Default is bool(false).
bool | $lax |
Definition at line 62 of file Class.MailAddrParser.php.
const ST_end = 'ST_end' |
Definition at line 53 of file Class.MailAddrParser.php.
const ST_inAngleMail = 'ST_inAngleMail' |
Definition at line 48 of file Class.MailAddrParser.php.
const ST_inMail = 'ST_inMail' |
Definition at line 49 of file Class.MailAddrParser.php.
const ST_inQuotedDisplayName = 'ST_inQuotedDisplayName' |
Definition at line 50 of file Class.MailAddrParser.php.
const ST_lookingForAngleMail = 'ST_lookingForAngleMail' |
Definition at line 51 of file Class.MailAddrParser.php.
const ST_lookingForSeparator = 'ST_lookingForSeparator' |
Definition at line 52 of file Class.MailAddrParser.php.
const ST_lookingForStartOfMail = 'ST_lookingForStartOfMail' |
Definition at line 47 of file Class.MailAddrParser.php.