You are here

function mailhandler_get_mailbox in Mailhandler 5

Same name and namespace in other branches
  1. 6 mailhandler.module \mailhandler_get_mailbox()
  2. 7 mailhandler.module \mailhandler_get_mailbox()

Fetch a specific mailbox from the database.

2 calls to mailhandler_get_mailbox()
mailhandler_admin_edit in ./mailhandler.module
Menu callback; handles pages for creating and editing mailboxes.
mailhandler_admin_retrieve in ./mailhandler.module
Menu callback; Retrieve and process pending e-mails for a mailbox.

File

./mailhandler.module, line 736

Code

function mailhandler_get_mailbox($mid) {
  return db_fetch_array(db_query("SELECT * FROM {mailhandler} WHERE mid = %d", $mid));
}