function mimemail_menu in Mime Mail 6
Same name and namespace in other branches
- 5 mimemail.module \mimemail_menu()
- 7 mimemail.module \mimemail_menu()
Implements hook_menu().
File
- ./
mimemail.module, line 11 - Component module for sending MIME-encoded e-mails.
Code
function mimemail_menu() {
$path = drupal_get_path('module', 'mimemail') . '/includes';
$items['admin/settings/mimemail'] = array(
'title' => 'Mime Mail',
'description' => 'HTML E-mail settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'mimemail_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'mimemail.admin.inc',
'file path' => $path,
);
$items['mimemail'] = array(
'page callback' => 'mimemail_post',
'access callback' => 'mimemail_incoming_access',
'type' => MENU_CALLBACK,
'file' => 'mimemail.incoming.inc',
'file path' => $path,
);
return $items;
}