| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 499 lines (15 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Horde_Mime_Mail:: (18 methods):
__construct()
addHeaders()
addHeader()
removeHeader()
setBody()
setHtmlBody()
addPart()
addMimePart()
setBasePart()
addAttachment()
removePart()
clearParts()
addRecipients()
removeRecipients()
clearRecipients()
send()
getRaw()
getBasePart()
Class: Horde_Mime_Mail - X-Ref
The Horde_Mime_Mail:: class wraps around the various MIME library classes| __construct($params = array() X-Ref |
| Constructor. param: array $params A hash with basic message information. 'charset' |
| addHeaders($headers = array() X-Ref |
| Adds several message headers at once. param: array $header Hash with header names as keys and header |
| addHeader($header, $value, $overwrite = null) X-Ref |
| Adds a message header. param: string $header The header name. param: string $value The header value. param: boolean $overwrite If true, an existing header of the same name |
| removeHeader($header) X-Ref |
| Removes a message header. param: string $header The header name. |
| setBody($body, $charset = null, $wrap = false) X-Ref |
| Sets the message body text. param: string $body The message content. param: string $charset The character set of the message. param: boolean|integer $wrap If true, wrap the message at column 76; |
| setHtmlBody($body, $charset = null, $alternative = true) X-Ref |
| Sets the HTML message body text. param: string $body The message content. param: string $charset The character set of the message. param: boolean $alternative If true, a multipart/alternative message is |
| addPart($mime_type, $content, $charset = 'us-ascii',$disposition = null) X-Ref |
| Adds a message part. param: string $mime_type The content type of the part. param: string $content The content of the part. param: string $charset The character set of the part. param: string $disposition The content disposition of the part. return: integer The part number. |
| addMimePart($part) X-Ref |
| Adds a MIME message part. param: Horde_Mime_Part $part A Horde_Mime_Part object. return: integer The part number. |
| setBasePart($part) X-Ref |
| Sets the base MIME part. If the base part is set, any text bodies will be ignored when building the message. param: Horde_Mime_Part $part A Horde_Mime_Part object. |
| addAttachment($file, $name = null, $type = null,$charset = 'us-ascii') X-Ref |
| Adds an attachment. param: string $file The path to the file. param: string $name The file name to use for the attachment. param: string $type The content type of the file. param: string $charset The character set of the part (only relevant for return: integer The part number. |
| removePart($part) X-Ref |
| Removes a message part. param: integer $part The part number. |
| clearParts() X-Ref |
| Removes all (additional) message parts but leaves the body parts untouched. |
| addRecipients($recipients) X-Ref |
| Adds message recipients. Recipients specified by To:, Cc:, or Bcc: headers are added automatically. param: string|array List of recipients, either as a comma separated |
| removeRecipients($recipients) X-Ref |
| Removes message recipients. param: string|array List of recipients, either as a comma separated |
| clearRecipients() X-Ref |
| Removes all message recipients. |
| send($mailer, $resend = false, $flowed = true) X-Ref |
| Sends this message. param: Mail $mailer A Mail object. param: boolean $resend If true, the message id and date are re-used; param: boolean $flowed Send message in flowed text format. |
| getRaw($stream = true) X-Ref |
| Get the raw email data sent by this object. param: boolean $stream If true, return a stream resource, otherwise return: stream|string The raw email data. |
| getBasePart() X-Ref |
| Return the base MIME part. return: Horde_Mime_Part |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |