Class CApiMailAttachment
CApiMailAttachment class is used for work with attachment.
Methods summary
protected
|
|
public
|
|
public
string
|
#
getFolder( )
Returns full name of the folder in which there is the message that contains the attachment. |
public
integer
|
|
public
string
|
|
public
|
#
setContent( string $sContent )
Fills content of the attachment. It is used only for files with .asc extension. |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
integer
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public static
|
|
public static
|
#
createInstance( string $sFolder, integer $iUid, MailSo\Imap\BodyStructure $oBodyStructure )
Creates and initializes new instance. |
public
|
#
initialize( string $sFolder, integer $iUid, MailSo\Imap\BodyStructure $oBodyStructure )
Initializes object fields. |
Properties summary
protected
string
|
$sFolder
Full name of the folder in which there is the message that contains the attachment. |
|
protected
integer
|
$iUid
Uid of the message that contains the attachment. |
|
protected
string
|
$sContent
Content of the attachment. It is used only for files with .asc extension. |
|
protected
MailSo\Imap\BodyStructure
|
$oBodyStructure
Body structure of the message part that contains the attachment. |