## Class Mail_Dispatcher

Description

Mail_Dispatcher sends and gets mail

- version: $Id: class.Mail_Dispatcher.inc,v 1.13 2003/03/04 17:49:14 letreo Exp $
- access: public
- author: Michael Oertel <michael@ortelius.de>

Located in Program_Root/include/class.Mail_Dispatcher.inc (line 40)

Variable Summary
integer $connection_count
Method Summary
void Mail_Dispatcher ()
void check_mail (object $mail)
boolean check_recipient (string $recipients)
void connect ()
boolean delete_mail (string $sender, string $recipient, integer $time)
void disconnect ()
void make_persistent (object $mail)
void send_mail (object $mail)
boolean trash_mail (object $mail, object $mailbox, object $chatter)
Variables
integer $connection_count (line 54)

- see: Mail_Dispatcher::disconnect()
- see: Mail_Dispatcher::connect()

Methods
Constructor Mail_Dispatcher (line 56)
void Mail_Dispatcher ()
check_mail (line 267)

Checks Mails

void check_mail (object $mail)

- object $mail

check_recipient (line 174)

Check if given recipient exists

boolean check_recipient (string $recipients)

- string $recipients

connect (line 68)

Connect to the database

Establish a database connection

- access: public

void connect ()
delete_mail (line 257)

Deletes a mail

boolean delete_mail (string $sender, string $recipient, integer $time)

- string $sender
- string $recipient
- integer $time

disconnect (line 93)

Disconnect the database

- see: Mail_Dispatcher::connect()
- access: public

void disconnect ()
make_persistent (line 109)

Updates a Mail

void make_persistent (object $mail)

- object $mail

send_mail (line 136)

Sends a Mail

void send_mail (object $mail)

- object $mail

trash_mail (line 203)

Moves a mail into trashbin

boolean trash_mail (object $mail, object $mailbox, object $chatter)

- object $mail
- object $mailbox
- object $chatter

Documention generated on Fri, 2 May 2003 10:50:47 +0200 by phpDocumentor 1.2.0rc2