PHP Class IMP_Mbox_Import, horde

Author: Michael Slusarz ([email protected])
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_import array Temporary data.
$_mbox IMP_Mailbox Import mailbox.

Méthodes publiques

Méthode Description
import ( string $mbox, string $form_name ) : string Import a MBOX file into a mailbox.

Méthodes protégées

Méthode Description
_import ( string $fname, string $type ) : mixed Imports messages from a mbox (see RFC 4155) -or- a message source (eml) file.
_importHelper ( array $msg, integer $buffer = false ) Helper for _import().

Method Details

_import() protected méthode

Imports messages from a mbox (see RFC 4155) -or- a message source (eml) file.
protected _import ( string $fname, string $type ) : mixed
$fname string Filename containing the message data.
$type string The MIME type of the message data.
Résultat mixed False (boolean) on fail or the number of messages imported (integer) on success.

_importHelper() protected méthode

Helper for _import().
protected _importHelper ( array $msg, integer $buffer = false )
$msg array Message data.
$buffer integer Buffer messages before sending?

import() public méthode

Import a MBOX file into a mailbox.
public import ( string $mbox, string $form_name ) : string
$mbox string The mailbox name to import into (UTF-8).
$form_name string The form field name that contains the MBOX data.
Résultat string Notification message.

Property Details

$_import protected_oe property

Temporary data.
protected array $_import
Résultat array

$_mbox protected_oe property

Import mailbox.
protected IMP_Mailbox $_mbox
Résultat IMP_Mailbox