Class CApiMailMessage
CApiMailMessage class summary
Methods summary
protected
|
|
public
|
|
public static
|
|
public
string
|
|
public
|
#
addExtend( string $sName, mixed $mValue )
Allows for joining custom content to mail message, implemented for use of iCal/vCard content. |
public
mixed
|
|
public
|
#
addCustom( string $sName, mixed $mValue )
Allows for adding custom values to message object, implemented for use by plugins. |
public
array
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
integer
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
#
getReceivedOrDateTimeStamp( )
Returns UTC timestamp of the message, checking through various sources including Received and Date headers. |
public
array
|
|
public
array
|
|
public
MailSo\Mime\EmailCollection
|
#
getFrom( )
List of From addresses in the message. Though in most cases it's just one address, it's possible to have multiple From entries in the same message. |
public
MailSo\Mime\EmailCollection
|
#
getSender( )
List of Sender addresses in the message. Though in most cases it's just one address, it's possible to have multiple Sender entries in the same message. |
public
MailSo\Mime\EmailCollection
|
|
public
MailSo\Mime\EmailCollection
|
|
public
MailSo\Mime\EmailCollection
|
|
public
MailSo\Mime\EmailCollection
|
|
public
string
|
#
getInReplyTo( )
Returns value of In-Reply-To header which is supplied in replies/forwards and contains Message-ID of the original message. This approach allows for organizing threads. |
public
string
|
|
public
integer
|
#
getSensitivity( )
If Sensitivity header was set for the message, its value will be returned: 1 for "Confidential", 2 for "Private", 3 for "Personal". |
public
integer
|
|
public
boolean
|
#
getSafety( )
The method returns indication of whether the sender is trustworthy so it's safe to display external images. |
public
string
|
|
public
|
#
setSafety( boolean $bSafety )
The method allows for indication of whether the sender is trustworthy so it's safe to display external images. |
public
|
|
public
array
|
#
getDraftInfo( )
Contains information about the original message which is replied or forwarded: message type (reply/forward), UID and folder. |
public
array
|
|
public
|
#
setThreads( array $aThreads )
Updates information about the message by supplying threading information such as UIDs of messages in the thread. |
public static
|
#
createInstance( string $sRawFolderFullName, MailSo\Imap\FetchResponse $oFetchResponse, MailSo\Imap\BodyStructure $oBodyStructure = null, string $sRfc822SubMimeIndex = '', array $aAscPartsIds = array() )
Creates and initializes instance of the object. |
public
|
#
initialize( string $sRawFolderFullName, MailSo\Imap\FetchResponse $oFetchResponse, MailSo\Imap\BodyStructure $oBodyStructure = null, string $sRfc822SubMimeIndex = '', array $aAscPartsIds = array() )
Advanced method which allows for creating messages invoking MailSo library built into the product. |
Properties summary
protected
string
|
$sFolder
Raw full name of the folder the message resides in. |
|
protected
integer
|
$iUid
UID value of the message. |
|
protected
string
|
$sSubject
Subject of the message. |
|
protected
string
|
$sMessageId
Value of Message-ID header. |
|
protected
string
|
$sContentType
Content-Type value of the message. |
|
protected
integer
|
$iSize
Message size in bytes. |
|
protected
integer
|
$iTextSize
Total size of text parts of the message in bytes. |
|
protected
integer
|
$iInternalTimeStampInUTC
Timestamp information of the message in UTC/GMT. |
|
protected
integer
|
$iReceivedOrDateTimeStampInUTC
UTC timestamp of the message, checking through various sources including Received and Date headers. |
|
protected
array
|
$aFlags
List of message flags. |
|
protected
array
|
$aFlagsLowerCase
List of message flags converted to lower case. |
|
protected
MailSo\Mime\EmailCollection
|
$oFrom
List of From addresses in the message. Though in most cases it's just one address, it's possible to have multiple From entries in the same message. |
|
protected
MailSo\Mime\EmailCollection
|
$oSender
List of Sender addresses in the message. Though in most cases it's just one address, it's possible to have multiple Sender entries in the same message. |
|
protected
MailSo\Mime\EmailCollection
|
$oReplyTo
Value of Reply-To header. |
|
protected
MailSo\Mime\EmailCollection
|
$oTo
List of To addresses of the message. |
|
protected
MailSo\Mime\EmailCollection
|
$oCc
List of CC addresses of the message. |
|
protected
MailSo\Mime\EmailCollection
|
$oBcc
List of BCC addresses of the message. |
|
protected
string
|
$sInReplyTo
Value of In-Reply-To header which is supplied in replies/forwards and contains Message-ID of the original message. This approach allows for organizing threads. |
|
protected
string
|
$sReferences
Content of References header block of the message. |
|
protected
string
|
$sPlain
Plaintext body of the message. |
|
protected
string
|
$sHtml
HTML body of the message. |
|
protected
integer
|
$iSensitivity
If Sensitivity header was set for the message, its value will be returned: 1 for "Confidential", 2 for "Private", 3 for "Personal". |
|
protected
integer
|
$iPriority
Priority value of the message, from 1 (highest) to 5 (lowest). |
|
protected
string
|
$sReadingConfirmation
Email address reading confirmation is to be sent to. |
|
protected
boolean
|
$bSafety
Indication of whether the sender is trustworthy so it's safe to display external images. |
|
protected
|
$oAttachments
Information about the attachments of the message. |