hex2bin - convert a hexadecimal string into binary Exists since PHP 5.4.
void
hex2bin
( $data)
mailfetch_optpage_register_block_function (line
265 )
Internal function used to register option block
void
mailfetch_optpage_register_block_function
()
mail_fetch_check_folder (line
386 )
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
415 )
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
282 )
Internal function used to update mail_fetch settings when folders are renamed or deleted.
void
mail_fetch_folderact_function
( $args)
mail_fetch_link_do (line
34 )
Add link to menu at top of content pane
void
mail_fetch_link_do
()
mail_fetch_login_function (line
64 )
Internal function used to fetch pop3 mails on login
void
mail_fetch_login_function
()
mail_fetch_setnew_function (line
254 )
Internal function used to detect new logins
void
mail_fetch_setnew_function
()
validate_mail_fetch_port_number (line
440 )
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)
- return: An error string is returned if the port number is not allowable, otherwise an empty string is returned.
string
validate_mail_fetch_port_number
(int $requested_port)
-
int
$requested_port: The port number given by the user
validate_mail_fetch_server_address (line
471 )
Validate a requested POP3 server address
Blocked server addresses are configured in config.php (see config_example.php for more details)
- return: An error string is returned if the server address is not allowable, otherwise an empty string is returned.
string
validate_mail_fetch_server_address
(int $requested_address)
-
int
$requested_address: The server address given by the user