1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

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
This commit is contained in:
James Atkinson
2001-08-13 03:16:35 +00:00
parent df3da5934d
commit 282367ea52
4 changed files with 154 additions and 124 deletions

View File

@@ -1,6 +1,6 @@
<?php
/***************************************************************************
smtp.php - description
emailer.php - description
-------------------
begin : Sunday Aug. 12, 2001
copyright : (C) 2001 The phpBB Group
@@ -37,11 +37,22 @@ 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
//