[ Index ]
 

Code source de IMP H3 (4.1.5)

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/lib/Fetchmail/ -> imap.php (sommaire)

(pas de description)

Poids: 330 lignes (10 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

IMP_Fetchmail_imap:: (9 méthodes):
  description()
  IMP_Fetchmail_imap()
  getProtocolList()
  _protocolList()
  _remoteMboxExists()
  _connect()
  _getMailMessage()
  getMail()
  _getMail()


Classe: IMP_Fetchmail_imap  - X-Ref

The IMP_Fetchmail_imap driver implements the IMAP_Fetchmail class for use
with IMAP/POP3 servers.

$Horde: imp/lib/Fetchmail/imap.php,v 1.5.10.10 2007/05/12 16:32:53 chuck Exp $

Copyright 2002-2007 Nuno Loureiro <nuno@co.sapo.pt>
Copyright 2004-2007 Michael Slusarz <slusarz@bigworm.colorado.edu>

See the enclosed file COPYING for license information (GPL). If you
did not receive this file, see http://www.fsf.org/copyleft/gpl.html.

description()   X-Ref
Returns a description of the driver.


IMP_Fetchmail_imap($params)   X-Ref
Constructor.

param: array $params  The configuration parameter array.

getProtocolList()   X-Ref
Return a list of protocols supported by this driver.


_protocolList()   X-Ref
Returns the list of IMAP/POP3 protocols that this driver supports, and
associated configuration options.
This needs to be in a separate function because PHP will not allow
gettext strings to appear in member variables.

return: array  The protocol configuration list.

_remoteMboxExists($stream)   X-Ref
Checks if the remote mailbox exists.

param: resource $stream  A valid IMAP resource stream.
return: boolean  Does the remote mailbox exist?

_connect()   X-Ref
Attempts to connect to the mail server

return: mixed  Returns an IMAP Stream or PEAR_Error on failure.

_getMailMessage($stream, $uid)   X-Ref
Gets the mailbody and calls the custom filter function.
Remove bare newlines and sets message color.

param: resource $stream  IMAP connection stream.
param: integer $uid      UID of message to fetch.
return: string  Corrected mail content.

getMail()   X-Ref
Gets the mail using the data in this object.


_getMail()   X-Ref
Internal function used to get mail from a single server.

return: mixed  Returns PEAR_Error on error, the number of messages



Généré le : Thu Nov 29 12:30:07 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics