Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$adminmail

$adminmail : 

Type

$mydeflang

$mydeflang : 

Type

$dkpname

$dkpname : 

Type

$sendmeth

$sendmeth : 

Type

$nohtmlmssg

$nohtmlmssg : 

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

$myoptions

$myoptions : 

Type

$objMailer

$objMailer : 

Type

$sendStatus

$sendStatus : 

Type

$sendError

$sendError : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

__construct()

__construct(  $options = '') : \true/false

Construct

Parameters

$options

Array with options (see above)

Returns

\true/false

SetOptions()

SetOptions(  $options) : \--

Set Options Array

Parameters

$options

Array with options (see above)

Returns

\--

Set_Language()

Set_Language(string  $lang) 

Set Language for Email Templates

Parameters

string $lang

generateSubject()

generateSubject(  $input) 

Parameters

$input

SetPath()

SetPath(  $path) : \--

Set Path

Parameters

$path

root path to tmplate/language files folder

Returns

\--

SendMailFromAdmin()

SendMailFromAdmin(string  $adress, string  $subject, string  $templatename, array  $bodyvars = array()) : \true/false

Send a Mail from the admin sender address

Parameters

string $adress

Receiver

string $subject
string $templatename
array $bodyvars

Returns

\true/false

SendMail()

SendMail(string  $adress, string  $from, string  $subject, string  $templatename, array  $bodyvars = array()) : \true/false

Send a Mail from a given sender

Parameters

string $adress

Receiver

string $from

Sender

string $subject
string $templatename
array $bodyvars

Returns

\true/false

getLatestSendStatus()

getLatestSendStatus() 

getLatestErrorMessage()

getLatestErrorMessage() 

getFile()

getFile(  $filename) : \file/false

Helper file for file Handling

Parameters

$filename

the filename of the template file

Returns

\file/false

Template()

Template(  $templatename,   $inputs) : \traue/false

Template

Parameters

$templatename

Name of the Email template to use

$inputs

Array with input variables to change in mail body

Returns

\traue/false

GenerateMail()

GenerateMail(  $to,   $subject,   $templatename,   $bodyvars,   $from) : \traue/false

Generate the Mail Body & rest

Parameters

$to

Receiver of the Mail

$subject

Subject of the Mail

$templatename

Name of the Email template to use

$bodyvars

Array with input variables to change in mail body

$from

Returns

\traue/false