Brimbox Logo Brimbox Version 2.3.4 Released

get_mbox>>

Method to return valid mailbox connector.

Class: bb_database, called as $main

File: bb_database.php (php)

Declaration:

function get_mbox($mailserver, $username, $password)

Usage:

$mbox = $main->get_mbox($mailserver, $username, $password);

Returns: Valid mailbox connection.

Note: this function uses constants EMAIL_SERVER, EMAIL_IMAP_OPTIONS, EMAIL_ADDRESS, and EMAIL_PASSWORD.

Parameter: $mailserver (string)
Valid email connection string to inbox with options specified.

Parameter: $username (string)
Email address of the database inbox defined in constant EMAIL_ADDRESS.

Parameter: $password (string)
Email password for the database inbox defined in constant EMAIL_PASSWORD.

Updated: 2016-06-16