/src/compose.php

Description

compose.php

This code sends a mail.

There are 4 modes of operation:

  • Start new mail
  • Add an attachment
  • Send mail
  • Save As Draft

Includes
include_once ('./addrbook_search_html.php') (line 510)

Rewrap $body so that no line is bigger than $editor_size This should only really kick in the sqWordWrap function if the browser doesn't support "VIRTUAL" as the wrap type.

require_once (SM_PATH.'functions/addressbook.php') (line 35)
require_once (SM_PATH.'functions/forms.php') (line 36)
require_once (SM_PATH.'include/validate.php') (line 27)
require_once (SM_PATH.'functions/global.php') (line 28)
require_once (SM_PATH.'functions/date.php') (line 30)
require_once (SM_PATH.'functions/mime.php') (line 31)
require_once (SM_PATH.'functions/imap.php') (line 29)
require_once (SM_PATH.'functions/plugin.php') (line 32)
require_once (SM_PATH.'functions/identity.php') (line 37)
Functions
checkInput (line 1329)
void checkInput ( $show)
  • $show
deliverMessage (line 1418)

temporary function to make use of the deliver class.

In the future the responsable backend should be automaticly loaded and conf.pl should show a list of available backends. The message also should be constructed by the message class.

void deliverMessage ( $composeMessage, [ $draft = false])
  • $composeMessage
  • $draft
getAttachments (line 860)
void getAttachments ( $message,  &$composeMessage,  $passed_id,  $entities,  $imapConnection)
  • $message
  • &$composeMessage
  • $passed_id
  • $entities
  • $imapConnection
getByteSize (line 1382)
void getByteSize ( $ini_size)
  • $ini_size
getforwardHeader (line 211)
void getforwardHeader ( $orig_header)
  • $orig_header
getReplyCitation (line 151)
void getReplyCitation ( $orig_from,  $orig_date)
  • $orig_from
  • $orig_date
newMail (line 615)

************** Only function definitions go below ************

void newMail ([ $mailbox = ''], [ $passed_id = ''], [ $passed_ent_id = ''], [ $action = ''], [ $session = ''])
  • $mailbox
  • $passed_id
  • $passed_ent_id
  • $action
  • $session
replyAllString (line 104)

GET VARS

void replyAllString ( $header)
  • $header
saveAttachedFiles (line 1349)
void saveAttachedFiles ( $session)
  • $session
showComposeButtonRow (line 1271)
void showComposeButtonRow ()
showInputForm (line 949)
void showInputForm ( $session, [ $values = false])
  • $session
  • $values

Documentation generated on Sat, 07 Oct 2006 16:30:09 +0300 by phpDocumentor 1.3.0RC6