Class waMailDecode
This file is part of Webasyst framework.
Licensed under the terms of the GNU Lesser General Public License (LGPL). http://www.webasyst.com/framework/license/
Package: wa-system\mail
Copyright: 2011 Webasyst LLC
Author: Webasyst LLC
Link: http://www.webasyst.com/
Located at wa-system/mail/waMailDecode.class.php
Copyright: 2011 Webasyst LLC
Author: Webasyst LLC
Link: http://www.webasyst.com/
Located at wa-system/mail/waMailDecode.class.php
public
|
|
public static
|
#
parseAddress( mixed $header )
Parse a decoded email header into list of arrays [name => ..., email => ..., full => ...] |
public
|
|
public
string
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected static
|
|
protected
|
|
protected
|
|
protected
string
|
|
protected
|
integer |
STATE_START
|
1 |
|
integer |
STATE_HEADER
|
2 |
|
integer |
STATE_HEADER_VALUE
|
3 |
|
integer |
STATE_PART
|
4 |
|
integer |
STATE_PART_HEADER
|
5 |
|
integer |
STATE_PART_DATA
|
6 |
|
integer |
STATE_END
|
7 |
|
integer |
TYPE_HEADER
|
1 |
|
integer |
TYPE_HEADER_VALUE
|
2 |
|
integer |
TYPE_PART
|
3 |
|
integer |
TYPE_ATTACH
|
4 |
protected
array
|
$options | array(
'buffer_size' => 16384,
'headers_only' => false,
'attach_path' => ''
) |
|
protected
mixed
|
$source |
|
|
protected
mixed
|
$state |
|
|
protected
string
|
$buffer | '' |
|
protected
integer
|
$buffer_offset | 0 |
|
protected
array
|
$attachments | array() |
|
protected
array
|
$parts | array() |
|
protected
mixed
|
$part |
|
|
protected
integer
|
$part_index | 0 |
|
protected
boolean
|
$is_last | false |
|
protected
array
|
$body | array(
) |
|
protected
mixed
|
$current_header |
|