aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rwxr-xr-xphpBB/includes/emailer.php15
1 files changed, 13 insertions, 2 deletions
diff --git a/phpBB/includes/emailer.php b/phpBB/includes/emailer.php
index 57895a6f1f..ba873a3926 100755
--- a/phpBB/includes/emailer.php
+++ b/phpBB/includes/emailer.php
@@ -1,6 +1,6 @@
<?php
/***************************************************************************
- smtp.php - description
+ emailer.php - description
-------------------
begin : Sunday Aug. 12, 2001
copyright : (C) 2001 The phpBB Group
@@ -37,12 +37,23 @@ class emailer
{
$this->use_smtp = $use_smtp;
$this->tpl_file = NULL;
- $this->sddress = NULL;
+ $this->address = NULL;
$this->msg = "";
$this->mimeOut = "";
}
//
+ // Resets all the data (address, template file, etc etc to default
+ //
+ function reset()
+ {
+ $this->tpl_file = "";
+ $this->address = "";
+ $this->msg = "";
+ $this->memOut = "";
+ }
+
+ //
// Sets an email address to send to
//
function email_address($address)