Method | Description | |
---|---|---|
cancelCompose ( ) : boolean | AJAX action: Cancel compose. | |
copyMessages ( ) : boolean | AJAX action: Copy messages. | |
deleteMessages ( ) : boolean | AJAX action: Delete messages. | |
getForwardData ( ) : mixed | Get forward compose data. | |
getRedirectData ( ) : mixed | AJAX action: Get compose redirect data. | |
getReplyData ( ) : mixed | AJAX action: Get reply data. | |
getResumeData ( ) : mixed | AJAX action: Get resume data. | |
moveMessages ( ) : boolean | AJAX action: Move messages. | |
poll ( ) : boolean | AJAX action: Poll mailboxes. | |
redirectMessage ( ) : object | Redirect the message. | |
reportSpam ( ) : boolean | AJAX action: Report message as [not]spam. | |
sendMessage ( ) : object | AJAX action: Send a message. | |
showMessage ( ) : object | Generate data necessary to display a message. | |
viewPort ( ) : boolean | AJAX action: Output ViewPort data. |
Method | Description | |
---|---|---|
_handleBadComposeAddr ( IMP_Compose_Exception_Address $e ) | Handle bad addresses entered during a compose. | |
_passphraseDialog ( string $type, string $cacheid = null ) | Outputs the script necessary to generate the passphrase dialog box. |
protected _handleBadComposeAddr ( IMP_Compose_Exception_Address $e ) | ||
$e | IMP_Compose_Exception_Address | The address exception. |
protected _passphraseDialog ( string $type, string $cacheid = null ) | ||
$type | string | Either 'pgp', 'pgp_symm', or 'smime'. |
$cacheid | string | Compose cache ID (only needed for 'pgp_symm'). |
public cancelCompose ( ) : boolean | ||
return | boolean | True. |
public copyMessages ( ) : boolean | ||
return | boolean | True on success, false on failure. |
public deleteMessages ( ) : boolean | ||
return | boolean | True on success, false on failure. |
public getForwardData ( ) : mixed | ||
return | mixed | False on failure, or an object with the following entries: - body: (string) The body text of the message. - format: (string) Either 'text' or 'html'. - header: (array) The headers of the message. - identity: (integer) The identity ID to use for this message. - opts: (array) Additional options needed for ImpCompose.fillForm(). - type: (string) The input 'type' value. |
public getRedirectData ( ) : mixed | ||
return | mixed | False on failure, or an object with the following entries: - imp_compose: (string) The IMP_Compose cache identifier. - type: (string) The input 'type' value. |
public getReplyData ( ) : mixed | ||
return | mixed | False on failure, or an object with the following entries: - addr: (array) List of addresses (to, cc, bcc). - body: (string) The body text of the message. - format: (string) Either 'text' or 'html'. - identity: (integer) The identity ID to use for this message. - opts: (array) Additional options needed for ImpCompose.fillForm(). - subject: (string) Subject value. - type: (string) The input 'type' value. |
public getResumeData ( ) : mixed | ||
return | mixed | False on failure, or an object with the following entries: - addr: (array) List of addresses (to, cc, bcc). - body: (string) The body text of the message. - format: (string) Either 'text' or 'html'. - identity: (integer) The identity ID to use for this message. - opts: (array) Additional options (atc, priority, readreceipt). - subject: (string) Subject value. - type: (string) The input 'type' value. |
public moveMessages ( ) : boolean | ||
return | boolean | True on success, false on failure. |
public redirectMessage ( ) : object | ||
return | object | An object with the following entries: - action: (string) 'redirectMessage'. - success: (integer) 1 on success, 0 on failure. |
public reportSpam ( ) : boolean | ||
return | boolean | True on success. |
public sendMessage ( ) : object | ||
return | object | An object with the following entries: - action: (string) The AJAX action string - draft_delete: (integer) If set, remove auto-saved drafts. - encryptjs: (array) Javascript to run after encryption failure. - flag: (array) See IMP_Ajax_Queue::add(). - identity: (integer) If set, this is the identity that is tied to the current recipient address. - success: (integer) 1 on success, 0 on failure. |
public showMessage ( ) : object | ||
return | object | Object with the following entries: - buid: (integer) The message BUID. - error: (string) On error, the error string. - errortype: (string) On error, the error type. - view: (string) The view ID. |