function smtp_menu
Search API
7.x smtp.module | smtp_menu() |
6.x smtp.module | smtp_menu() |
5.x smtp.module | smtp_menu() |
File
- modules/
smtp/ smtp.module, line 14 - This is the main module file for SMTP, which will let us send emails using SMTP instead of PHP's mail() command.
Code
function smtp_menu() {
$items = array();
$items ["admin/config/smtp"] = array(
"title" => "SMTP settings",
"description" => "Configure SMTP module",
"page_callback" => "fp_render_form",
"page_arguments" => array("smtp_settings_form", "system_settings"),
"access_arguments" => array("de_can_administer_smtp"),
"page_settings" => array(
"menu_icon" => fp_get_module_path('smtp') . "/icons/email.png",
"menu_links" => array(
0 => array(
"text" => "Admin Console",
"path" => "admin-tools/admin",
"query" => "de_catalog_year=%DE_CATALOG_YEAR%",
),
),
),
"type" => MENU_TYPE_NORMAL_ITEM,
"tab_parent" => "admin-tools/admin",
);
return $items;
}