aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php3
1 files changed, 3 insertions, 0 deletions
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']);