Class Dovecot_LDA

Description

Defines a transport mechanism for delivering mails to the dovecot IMAP server.

$Horde: framework/Kolab_Filter/lib/Horde/Kolab/Filter/Transport/DovecotLDA.php,v 1.4.2.2 2010/01/11 12:43:42 wrobel Exp $

Copyright 2008 Intevation GmbH

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.

Located in /Kolab_Filter/lib/Horde/Kolab/Filter/Transport/DovecotLDA.php (line 22)


	
			
Variable Summary
Method Summary
 Dovecot_LDA Dovecot_LDA ()
 boolean|PEAR_Error connect ()
 boolean disconnect ()
 boolean mailFrom ( $sender)
 boolean rcptTo ( $rcpt)
 boolean|PEAR_Error _deliver ()
 boolean|PEAR_Error _parseResponse (string $code)
 boolean|PEAR_Error _put (string $cmd)
 boolean|PEAR_Error _send (string $data)
 boolean|PEAR_Error _start_deliver (string $recipient)
 boolean|PEAR_Error _stop_deliver ()
Variables
array $_data (line 50)

The data that should be sent.

int $_deliver_fh (line 57)

File handle for delivery.

string $_envelopeSender (line 29)

The mail sender.

string $_envelopeTo = array() (line 36)

The mail recipient.

int $_status (line 43)

Transport status.

Methods
Constructor Dovecot_LDA (line 59)
Dovecot_LDA Dovecot_LDA ()
connect (line 70)

Pretends to connect to Dovecot which is not necessary.

  • return: Always true.
boolean|PEAR_Error connect ()
disconnect (line 85)

Pretends to disconnect from Dovecot which is not necessary.

  • return: Always true.
boolean disconnect ()
mailFrom (line 96)

Set the mail sender.

  • return: Always true.
boolean mailFrom ( $sender)
  • $sender
rcptTo (line 108)

Add a mail recipient.

  • return: Always true.
boolean rcptTo ( $rcpt)
  • $rcpt
_deliver (line 252)

Write data to the deliver process.

  • return: True if successful.
boolean|PEAR_Error _deliver ()
_parseResponse (line 141)

Check the current response code.

  • return: True if the current status matches the expectation.
boolean|PEAR_Error _parseResponse (string $code)
  • string $code: The response to parse.
_put (line 122)

Receive commands.

  • return: True if the command succeeded.
boolean|PEAR_Error _put (string $cmd)
  • string $cmd: The command.
_send (line 162)

Send actual mail data.

  • return: True if successful.
boolean|PEAR_Error _send (string $data)
  • string $data: The data to write.
_start_deliver (line 210)

Start the delivery process for a recipient.

  • return: True if successful.
boolean|PEAR_Error _start_deliver (string $recipient)
  • string $recipient: The recipient of the message.
_stop_deliver (line 234)

End the delivery process for a recipient.

  • return: True if successful.
boolean|PEAR_Error _stop_deliver ()

Documentation generated on Sun, 30 Jan 2011 05:16:54 +0000 by phpDocumentor 1.4.3