/plugins/mail_fetch/functions.php

Description

mail_fetch/functions.php

Functions for the mail_fetch plugin.

Original code from LexZEUS <[email protected]> and [email protected] (extracted from php manual) Adapted for MailFetch by Philippe Mingo <[email protected]>

Includes
include_once (SM_PATH.'config/mail_fetch_config.php') (line 36)

load site config

include_once (SM_PATH.'plugins/mail_fetch/constants.php') (line 21)

pop3 class

include_once (SM_PATH.'plugins/mail_fetch/config.php') (line 38)
Variables
boolean $mail_fetch_allow_unsubscribed (line 32)

Controls use of unsubscribed folders in plugin

  • since: 1.5.1 and 1.4.5
Functions
decrypt (line 347)
void decrypt ( $txt)
  • $txt
encrypt (line 331)
void encrypt ( $txt)
  • $txt
hex2bin (line 300)

hex2bin - document me

void hex2bin ( $data)
  • $data
mailfetch_optpage_register_block_function (line 248)

Internal function used to register option block

  • private:
  • since: 1.5.1
void mailfetch_optpage_register_block_function ()
mail_fetch_check_folder (line 366)

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 395)

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
mail_fetch_folderact_function (line 265)

Internal function used to update mail_fetch settings when folders are renamed or deleted.

  • private:
  • since: 1.5.1
void mail_fetch_folderact_function ( $args)
  • $args
mail_fetch_login_function (line 48)

Internal function used to fetch pop3 mails on login

  • private:
  • since: 1.5.1
void mail_fetch_login_function ()
mail_fetch_setnew_function (line 237)

Internal function used to detect new logins

void mail_fetch_setnew_function ()
mf_keyED (line 312)
void mf_keyED ( $txt)
  • $txt

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