/plugins/mail_fetch/functions.php

Description

* mail_fetch/functions.php * * Copyright (c) 1999-2006 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING.

* * Functions for the mailfetch plugin. * * Original code from LexZEUS <[email protected]> * and [email protected] (extracted from php manual) * Adapted for MailFetch by Philippe Mingo <[email protected]> * * $Id: functions.php,v 1.5.2.5 2006/02/03 22:27:52 jervfors Exp $

Variables
boolean $mail_fetch_allow_unsubscribed (line 26)

Controls use of unsubscribed folders in plugin

  • since: 1.5.1 and 1.4.5
Functions
decrypt (line 71)
void decrypt ( $txt)
  • $txt
encrypt (line 57)
void encrypt ( $txt)
  • $txt
hex2bin (line 28)
void hex2bin ( $data)
  • $data
mail_fetch_check_folder (line 89)

check mail folder

  • return: true, when folder can be used to store messages.
  • since: 1.5.1 and 1.4.5
boolean mail_fetch_check_folder (stream $imap_stream, string $imap_folder)
  • stream $imap_stream: imap connection resource
  • string $imap_folder: imap folder name
mail_fetch_check_noselect (line 118)

Checks if folder is noselect (can't store messages)

Function does not check if folder subscribed.

  • return: true, when folder has noselect flag. false in any other case.
  • since: 1.5.1 and 1.4.5
boolean mail_fetch_check_noselect (stream $imap_stream, string $imap_folder)
  • stream $imap_stream: imap connection resource
  • string $imap_folder: imap folder name
mf_keyED (line 39)
void mf_keyED ( $txt)
  • $txt

Documentation generated on Sat, 07 Oct 2006 16:31:23 +0300 by phpDocumentor 1.3.0RC6