<?php
/**
* functions for info plugin
*
* Here are two functions for the info plugin
* The first gets the CAPABILITY response from your IMAP server.
* The second runs the passed IMAP test and returns the results
* The third prints the results of the IMAP command
* to options.php.
*
* @author Jason Munro <jason at stdbev.com>
* @copyright 1999-2020 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: functions.php 14845 2020年01月07日 08:09:34Z pdontthink $
* @package plugins
* @subpackage info
*/
/**
* Get the IMAP capabilities
*
* @param mixed $imap_stream
* @return array
* @access private
*/
function get_caps($imap_stream) {
}
/**
* Run an IMAP test and return the results
*
* @param mixed $imap_stream
* @param string $string imap command
* @return array Response from the IMAP server
* @access private
*/
function imap_test($imap_stream, $string) {
array_push ($response, $responses .
' ' .
$message);
return $response;
}
/**
* Print the IMAP response to options.php
*
* @param array $response results of imap command
* @access private
*/
function print_response($response) {
foreach($response as $value) {
print_response($value);
}
else {
}
}
}