diff options
| author | James Atkinson <thefinn@users.sourceforge.net> | 2001-08-13 03:16:35 +0000 |
|---|---|---|
| committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-08-13 03:16:35 +0000 |
| commit | 282367ea52940a1206d5d51a9fcd39f0407136b9 (patch) | |
| tree | fa128271a4add15bf68e65ffd6a7fdaabb961628 /phpBB/includes | |
| parent | df3da5934dfcbb50c5aa076515c40ae487a733b3 (diff) | |
| download | forums-282367ea52940a1206d5d51a9fcd39f0407136b9.tar forums-282367ea52940a1206d5d51a9fcd39f0407136b9.tar.gz forums-282367ea52940a1206d5d51a9fcd39f0407136b9.tar.bz2 forums-282367ea52940a1206d5d51a9fcd39f0407136b9.tar.xz forums-282367ea52940a1206d5d51a9fcd39f0407136b9.zip | |
Implmented the emailer class everywhere it needs it (just registration and private message notification so far)
git-svn-id: file:///svn/phpbb/trunk@845 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
| -rwxr-xr-x | phpBB/includes/emailer.php | 15 |
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) |
