Overview

Packages

  • Kolab
    • Filter
    • Test

Classes

  • Dovecot_LDA
  • DropWrapper
  • EchoWrapper
  • Horde_Kolab_Filter
  • Horde_Kolab_Filter_Base
  • Horde_Kolab_Filter_Cli
  • Horde_Kolab_Filter_Cli_Parser
  • Horde_Kolab_Filter_Configuration
  • Horde_Kolab_Filter_Content
  • Horde_Kolab_Filter_Exception
  • Horde_Kolab_Filter_Exception_IoError
  • Horde_Kolab_Filter_Exception_Temporary
  • Horde_Kolab_Filter_Exception_Usage
  • Horde_Kolab_Filter_Factory
  • Horde_Kolab_Filter_Incoming
  • Horde_Kolab_Filter_Response
  • Horde_Kolab_Filter_Temporary_File
  • Horde_Kolab_Filter_Transport
  • Horde_Kolab_Filter_Transport_drop
  • Horde_Kolab_Filter_Transport_echo
  • Horde_Kolab_Filter_Transport_lda
  • Horde_Kolab_Filter_Transport_lmtp
  • Horde_Kolab_Filter_Transport_smtp
  • Horde_Kolab_Filter_Transport_stdout
  • Kolab_Filter_Outlook
  • Net_LMTP_TLS
  • StdOutWrapper

Interfaces

  • Horde_Kolab_Filter_Temporary
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Kolab_Filter_Transport

Provides a delivery mechanism for a mail message.

Copyright 2004-2008 Klarälvdalens Datakonsult AB

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Direct known subclasses

Horde_Kolab_Filter_Transport_drop, Horde_Kolab_Filter_Transport_echo, Horde_Kolab_Filter_Transport_lda, Horde_Kolab_Filter_Transport_lmtp, Horde_Kolab_Filter_Transport_smtp, Horde_Kolab_Filter_Transport_stdout
Package: Kolab\Filter
Author: Steffen Hansen steffen@klaralvdalens-datakonsult.se
Author: Gunnar Wrobel wrobel@pardus.de
Located at Horde/Kolab/Filter/Transport.php
Methods summary
public
# Horde_Kolab_Filter_Transport( mixed $params )

Constructor.

Constructor.

public Horde_Kolab_Filter_Transport|boolean &
# factory( string $driver, array $params = array() )

Attempts to return a concrete Horde_Kolab_Filter_Transport instance based on $driver.

Attempts to return a concrete Horde_Kolab_Filter_Transport instance based on $driver.

Parameters

$driver
<p>The type of the concrete Horde_Kolab_Filter_Transport subclass to return. The class name is based on the Horde_Kolab_Filter_Transport driver ($driver). The code is dynamically included.</p>
$params
<p>A hash containing any additional configuration or connection parameters a subclass might need.</p>

Returns

Horde_Kolab_Filter_Transport|boolean

The newly created concrete Horde_Kolab_Filter_Transport instance, or false on an error.

public
# createTransport( )

Create the transport class.

Create the transport class.

public boolean|PEAR_Error
# start( string $sender, array $recips )

Starts transporting the message.

Starts transporting the message.

Parameters

$sender
The message sender.
$recips
The recipients of the message.

Returns

boolean|PEAR_Error
True on success, a PEAR_Error otherwise.
public PEAR_Error
# createErrorObject( array $reciperrors, string $msg = null )

Encapsulate multiple errors in one.

Encapsulate multiple errors in one.

Parameters

$reciperrors
The errors.
$msg
A combined error message.

Returns

PEAR_Error
The combined error.
public
# quotedataline( string & $data )

Modified implementation from Net_SMTP that supports dotstuffing even when getting the mail line-by line.

Modified implementation from Net_SMTP that supports dotstuffing even when getting the mail line-by line.

Parameters

$data
Mail message data.
public boolean|PEAR_Error
# data( string $data )

Send message data.

Send message data.

Parameters

$data
The text of the message.

Returns

boolean|PEAR_Error
True on success.
public boolean|PEAR_Error
# end( )

Finish sending data.

Finish sending data.

Returns

boolean|PEAR_Error
True on success.
public PEAR_error
# rewriteCode( PEAR_error $result )

Rewrite the code to something postfix can understand.

Rewrite the code to something postfix can understand.

Parameters

$result
The reponse of the transport.

Returns

PEAR_error
An error with a rewritten error code.
Properties summary
public array $_params

The connection parameters for the transport.

The connection parameters for the transport.

#
public mixed $_transport

The transport class delivering the message.

The transport class delivering the message.

#
public boolean $_got_newline

Internal marker to indicate if we received a new line.

Internal marker to indicate if we received a new line.

#
API documentation generated by ApiGen