You are here

function mailhandler_mailbox_defaults in Mailhandler 6

Return mailhandler mailbox default attributes.

Return value

Associative array with mailhandler mailbox default attributes.

Related topics

2 calls to mailhandler_mailbox_defaults()
mailhandler_add_edit_mailbox in ./mailhandler.admin.inc
Return a form for editing or creating an individual mailbox.
mailhandler_mailbox_save in ./mailhandler.module
Save a Mailhandler Mailbox in the database.

File

./mailhandler.module, line 1371
Mailhandler module code.

Code

function mailhandler_mailbox_defaults() {
  return array(
    'mail' => '',
    'mailto' => '',
    'folder' => 'INBOX',
    'imap' => 0,
    'domain' => '',
    'port' => '',
    'name' => '',
    'pass' => '',
    'extraimap' => '',
    'mime' => 'TEXT/HTML,TEXT/PLAIN',
    'security' => 0,
    'replies' => 1,
    'fromheader' => '',
    'commands' => '',
    'sigseparator' => '',
    'delete_after_read' => 1,
    'enabled' => 1,
    'format' => variable_get('filter_default_format', 1),
    'authentication' => 'mailhandler_default',
  );
}