aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-09-27 10:05:17 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-09-27 10:05:17 +0000
commit8a18db2b9d27b1209c8f32557ac623d725a20fa4 (patch)
tree4225892c82d57076c0e9efed235b5e15d40d46b6 /phpBB/privmsg.php
parentee22f2709cb3b459f0e462e0969289490c08b309 (diff)
downloadforums-8a18db2b9d27b1209c8f32557ac623d725a20fa4.tar
forums-8a18db2b9d27b1209c8f32557ac623d725a20fa4.tar.gz
forums-8a18db2b9d27b1209c8f32557ac623d725a20fa4.tar.bz2
forums-8a18db2b9d27b1209c8f32557ac623d725a20fa4.tar.xz
forums-8a18db2b9d27b1209c8f32557ac623d725a20fa4.zip
Fixed bug #465147
git-svn-id: file:///svn/phpbb/trunk@1097 89ea8834-ac86-4346-8a33-228a782c2dd0
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']);