HTML_BLOCKQUOTE
HTML_BLOCKQUOTE
Horde_Core_ActiveSync_Mail::
Wraps functionality related to sending/replying/forwarding email from EAS clients.
setForward(string $parent, integer $id, array $params = array())
Set this as a SMARTFORWARD requests.
string | $parent | The folder containing the source message. |
integer | $id | The source message UID. |
array | $params | Additional parameters: @since 2.31.0
|
_tryWithoutBinary( $recipients, array $headers) : boolean
Some clients (HTC One devices, for one) generate HTML signatures that contain line lengths too long for servers without BINARYMIME to send. If we are here, see if that's the reason by checking content encoding and trying again.
$recipients | ||
array | $headers |
_getPlainPart(string $plain_id, \Horde_Mime_Part $mime_message, array $body_data, \Horde_Mime_Part $base_part) : string
Build the text part of a SMARTREPLY or SMARTFORWARD
string | $plain_id | The MIME part id of the plaintext part of $base_part. |
\Horde_Mime_Part | $mime_message | The MIME part of the email to be sent. |
array | $body_data | @see Horde_ActiveSync_Imap_Message::getMessageBodyData() |
\Horde_Mime_Part | $base_part | The base MIME part of the source message for a SMART request. |
The plaintext part of the email message that is being sent.
_getHtmlPart(string $html_id, \Horde_Mime_Part $mime_message, array $body_data, \Horde_Mime_Part $base_part) : string
Build the HTML part of a SMARTREPLY or SMARTFORWARD
string | $html_id | The MIME part id of the html part of $base_part. |
\Horde_Mime_Part | $mime_message | The MIME part of the email to be sent. |
array | $body_data | @see Horde_ActiveSync_Imap_Message::getMessageBodyData() |
\Horde_Mime_Part | $base_part | The base MIME part of the source message for a SMART request. |
The plaintext part of the email message that is being sent.
_forwardText(array $body_data, \Horde_Mime_Part $part, boolean $html = false) : string
Return the body of the forwarded message in the appropriate type.
array | $body_data | The body data array of the source msg. |
\Horde_Mime_Part | $part | The body part of the email to send. |
boolean | $html | Is this an html part? |
The propertly formatted forwarded body text.
_replyText(array $body_data, \Horde_Mime_Part $part, boolean $html = false) : string
Return the body of the replied message in the appropriate type.
array | $body_data | The body data array of the source msg. |
\Horde_Mime_Part | $part | |
boolean | $html | Is this an html part? |
The propertly formatted replied body text.
_msgBody(array $body_data, \Horde_Mime_Part $part, boolean $html, boolean $flow = false) : string
Return the body text of the original email from a smart request.
array | $body_data | The body data array of the source msg. |
\Horde_Mime_Part | $part | The body mime part of the email to send. |
boolean | $html | Do we want an html body? |
boolean | $flow | Should the body be flowed? |
The properly formatted/flowed message body.