The IMP_Compose:: class contains functions related to generating outgoing mail messages.
$Horde: imp/lib/Compose.php,v 1.107.2.89 2009/11/05 10:30:54 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
Located in /lib/Compose.php (line 30)
Internal ID for attachments.
Whether the user's vCard should be attached to outgoing messages.
The "cached" charset of the body MIME part.
The cached attachment data.
The cache ID used to store object in session.
The UID of the last draft saved via saveDraft().
In findBody(), indicate we want to return a text/html part.
Whether attachments should be linked.
For findBody, the MIME ID of the "body" part.
Whether the user's PGP public key should be attached to outgoing messages.
Are we resuming a message?
The aggregate size of all attachments (in bytes).
Add uploaded files from form data.
How many more attachments are allowed?
Adds an attachment to a MIME_Part from data existing in the part.
Adds an attachment to a MIME_Part from an uploaded file.
The actual attachment data is stored in a separate file - the MIME_Part information entries 'temp_filename' and 'temp_filetype' are set with this information.
Adds attachments from the IMP_Contents object to the message.
Add mail message(s) from the mail server as a message/rfc822 attachment.
Attach the user's vCard to every message sent by buildAndSendMessage().
Builds and sends a MIME message.
'save_sent' = (bool) Save sent mail? 'sent_folder' = (string) The sent-mail folder. 'save_attachments' = (bool) Save attachments with the message? 'reply_type' = (string) What kind of reply this is (reply or forward). 'reply_index' = (string) The IMAP message mailbox/index of the message we are replying to. The index should be in IMP::parseIndicesList() format #1. 'encrypt' => (integer) A flag whether to encrypt or sign the message. One of IMP_PGP_ENCRYPT, IMP_PGP_SIGNENC, IMP_SMIME_ENCRYPT, or IMP_SMIME_SIGNENC. 'priority' => (integer) The message priority from 1 to 5. 'readreceipt' => (bool) Add return receipt headers? 'useragent' => (string) The User-Agent string to use.
Build a single attachment part with its data.
Convert a text/html MIME_Part message with embedded image links to a multipart/related MIME_Part with the image data embedded in the part.
Deletes all attachments.
Delete attached files.
Uses the Registry to expand names and return error information for any address that is either not valid or fails to expand.
This method can be called statically, i.e.: $ret = IMP_Compose::expandAddresses()
Finds the main "body" text part (if any) in a message.
Formats the address properly.
Can be called statically.
Determine the text and headers for a forwarded message.
Returns the list of current attachments.
Returns the charset of the MIME part containing the "body".
Returns the ID of the MIME part containing the "body".
Returns the HTML body text of a message.
The HTML code is passed through the XSS filter and any tags outside and including the body and html tags are removed.
Gets the message body and sets up the MIME parts.
Obtains the cache ID for the session object.
Remove all attachments from an email message and replace with urls to downloadable links. Should properly save all attachments to a new folder and remove the MIME_Parts for the attachments.
What is the maximum attachment size allowed?
Returns the number of attachments currently in this message.
Attach the user's PGP public key to every message sent by buildAndSendMessage().
Cleans up and returns the recipient list. Encodes all e-mail addresses with IDN domains.
Determines the reply text and headers for a message.
Resumes a previously saved draft message.
Write an RFC822 group, given the group name and a list of valid, mailbox+host-only email addresses.
Saves a message to the draft folder.
Returns the UID of the last message saved via saveDraft().
Sends a message.
Attempts to return a reference to a concrete IMP_Compose instance.
If a IMP_Cacheid object exists with the given cacheid, recreate that that object. Else, create a new instance.
This method must be invoked as:
$imp_compose = &IMP_Compose::singleton([$cacheid]);
Returns the size of the attachments in bytes.
Shortcut function to convert text -> HTML for purposes of composition.
Updates information in a specific attachment.
'disposition' -- The Content-Disposition value. 'description' -- The Content-Description value.
Has user specifically asked attachments to be linked in outgoing messages?
Add necessary headers for replies.
Documentation generated on Sun, 30 Jan 2011 05:28:10 +0000 by phpDocumentor 1.4.3