public function MailhandlerPhpImapRetrieve::close_mailbox in Mailhandler 7.2
Same name and namespace in other branches
- 6.2 modules/mailhandler_php_imap/plugins/mailhandler/retrieve/MailhandlerPhpImapRetrieve.class.php \MailhandlerPhpImapRetrieve::close_mailbox()
Close a mailbox.
3 calls to MailhandlerPhpImapRetrieve::close_mailbox()
- MailhandlerPhpImapRetrieve::purge_message in modules/
mailhandler_php_imap/ plugins/ mailhandler/ retrieve/ MailhandlerPhpImapRetrieve.class.php - Purge (mark as read or delete) a message.
- MailhandlerPhpImapRetrieve::retrieve in modules/
mailhandler_php_imap/ plugins/ mailhandler/ retrieve/ MailhandlerPhpImapRetrieve.class.php - Connect to mailbox and run message retrieval.
- MailhandlerPhpImapRetrieve::test in modules/
mailhandler_php_imap/ plugins/ mailhandler/ retrieve/ MailhandlerPhpImapRetrieve.class.php - Test connection to a mailbox.
File
- modules/
mailhandler_php_imap/ plugins/ mailhandler/ retrieve/ MailhandlerPhpImapRetrieve.class.php, line 397 - Definition of MailhandlerPhpImapRetrieve class.
Class
- MailhandlerPhpImapRetrieve
- Retrieve messages using PHP IMAP library.
Code
public function close_mailbox($result, $mailbox) {
$this
->report_errors($mailbox);
imap_close($result, CL_EXPUNGE);
}