squirrelmail-webmail
1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
![]() ![]() |
Go to the source code of this file.
Namespaces | |
plugins | |
Functions | |
validate_mail_fetch_port_number ($requested_port) | |
validate_mail_fetch_server_address ($requested_address) | |
hex2bin ( $data) | |
mf_keyED ( $txt) | |
encrypt ( $txt) | |
decrypt ( $txt) | |
mail_fetch_check_folder ($imap_stream, $imap_folder) | |
mail_fetch_check_noselect ($imap_stream, $imap_folder) | |
Variables | |
global | $mail_fetch_allow_unsubscribed = false |
decrypt | ( | $txt | ) |
Definition at line 138 of file functions.php.
References hex2bin(), and mf_keyED().
Referenced by mail_fetch_load_pref(), and mail_fetch_login().
encrypt | ( | $txt | ) |
Definition at line 124 of file functions.php.
References mf_keyED().
hex2bin | ( | $data | ) |
mail_fetch_check_folder | ( | $imap_stream, | |
$imap_folder | |||
) |
check mail folder
stream | $imap_stream | imap connection resource |
string | $imap_folder | imap folder name |
Definition at line 156 of file functions.php.
References $imap_stream, $mail_fetch_allow_unsubscribed, $ret, elseif, mail_fetch_check_noselect(), sqimap_mailbox_exists(), and sqimap_mailbox_is_subscribed().
Referenced by mail_fetch_login().
mail_fetch_check_noselect | ( | $imap_stream, | |
$imap_folder | |||
) |
Checks if folder is noselect (can't store messages)
Function does not check if folder subscribed.
stream | $imap_stream | imap connection resource |
string | $imap_folder | imap folder name |
Definition at line 185 of file functions.php.
References $boxes, $imap_stream, check_is_noselect(), and sqimap_mailbox_list().
Referenced by mail_fetch_check_folder().
mf_keyED | ( | $txt | ) |
Definition at line 106 of file functions.php.
validate_mail_fetch_port_number | ( | $requested_port | ) |
Validate a requested POP3 port number
Allowable port numbers are configured in config.php (see config_example.php for an example and more rules about how the list of allowable port numbers can be specified)
int | $requested_port | The port number given by the user |
Definition at line 44 of file functions.php.
References $mail_fetch_allowable_ports, _(), SM_PATH, and sq_change_text_domain().
validate_mail_fetch_server_address | ( | $requested_address | ) |
Validate a requested POP3 server address
Blocked server addresses are configured in config.php (see config_example.php for more details)
int | $requested_address | The server address given by the user |
Definition at line 76 of file functions.php.
References $mail_fetch_block_server_pattern, _(), SM_PATH, and sq_change_text_domain().
$mail_fetch_allow_unsubscribed = false |
declare plugin globals
Controls use of unsubscribed folders in plugin @global boolean $mail_fetch_allow_unsubscribed
Definition at line 20 of file functions.php.
Referenced by mail_fetch_check_folder().