function mailhandler_default_default_mailhandler_mailbox in Mailhandler 6.2
Same name and namespace in other branches
- 7.2 modules/mailhandler_default/mailhandler_default.mailhandler_mailbox.inc \mailhandler_default_default_mailhandler_mailbox()
Implementation of hook_default_mailhandler_mailbox().
File
- modules/
mailhandler_default/ mailhandler_default.mailhandler_mailbox.inc, line 10 - Default mailhandler mailbox for testing.
Code
function mailhandler_default_default_mailhandler_mailbox() {
$export = array();
$mailbox = new stdClass();
$mailbox->disabled = FALSE;
/* Edit this to true to make a default mailbox disabled initially */
$mailbox->api_version = 2;
$mailbox->mail = 'local_test';
$mailbox->settings = array(
'type' => 'local',
'folder' => 'sites/all/modules/mailhandler/tests/mbox/test1',
'domain' => '',
'port' => '',
'insecure' => 1,
'name' => '',
'pass' => '',
'extraimap' => '',
'limit' => '0',
'encoding' => 'UTF-8',
'flag_after_read' => 1,
'delete_after_read' => 0,
'fromheader' => 'From',
'security' => '0',
'replies' => '0',
'retrieve' => 'MailhandlerPhpImapRetrieve',
'readonly' => 1,
);
$mailbox->admin_title = 'Test mailbox';
$export['local_test'] = $mailbox;
return $export;
}