From 8a18db2b9d27b1209c8f32557ac623d725a20fa4 Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Thu, 27 Sep 2001 10:05:17 +0000 Subject: [PATCH] Fixed bug #465147 git-svn-id: file:///svn/phpbb/trunk@1097 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/groupcp.php | 3 +++ phpBB/privmsg.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/phpBB/groupcp.php b/phpBB/groupcp.php index 232d2a8aec..808edd24f1 100644 --- a/phpBB/groupcp.php +++ b/phpBB/groupcp.php @@ -69,6 +69,9 @@ if( isset($HTTP_POST_VARS['joingroup']) ) $email_headers = "From: " . $board_config['board_email'] . "\r\n"; + include($phpbb_root_path . 'includes/emailer.'.$phpEx); + $emailer = new emailer($board_config['smtp_delivery']); + $emailer->use_template("group_request"); $emailer->email_address($moderator[0]['user_email']); $emailer->set_subject($lang['Group_request']); diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index 8cbea8e91a..038df5496c 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -674,6 +674,9 @@ else if($mode == "post" || $mode == "reply" || $mode == "edit") if($to_userdata['user_notify_pm'] && !empty($to_userdata['user_email'])) { $email_headers = "From: " . $board_config['board_email'] . "\r\n"; + include($phpbb_root_path . 'includes/emailer.'.$phpEx); + $emailer = new emailer($board_config['smtp_delivery']); + $emailer->use_template("privmsg_notify"); $emailer->email_address($to_userdata['user_email']); $emailer->set_subject($lang['Notification_subject']);