\Mail

System Mailer Class Uses PHP-Mail Function (to use SMTP use the Docker-Image, which uses internally https://hub.docker.com/r/kimbtechnologies/php_smtp_nginx)

Summary

Methods
Properties
Constants
__construct()
setContent()
setMultipleContent()
sendMail()
No public properties found
LAST_TIMES
LAST_SECONDS
No protected methods found
No protected properties found
N/A
setUpMailMeta()
$templates
$type
$template
$mailHeader
$maillog
N/A

Constants

LAST_TIMES

LAST_TIMES

The system uses some type of spam protection.

One can not send too many mails to one address.

LAST_SECONDS

LAST_SECONDS

Properties

$templates

$templates : 

Type

$type

$type : 

Type

$template

$template : 

Type

$mailHeader

$mailHeader : 

Type

$maillog

$maillog : 

Type

Methods

__construct()

__construct(\string  $mailType) 

Creates the Mail (also using a HTML Template)

Parameters

\string $mailType

setContent()

setContent(  $key,   $value) 

Set a content key in the mail template

Parameters

$key
$value

setMultipleContent()

setMultipleContent(  $key,   $value) 

Set a multiple content key in the mail template

Parameters

$key
$value

sendMail()

sendMail(  $to,   $force = false) 

Sends the created Mail

Parameters

$to

The destination mail address

$force

Force to send the mail (also if many mail send to this address in the last time)

setUpMailMeta()

setUpMailMeta() 

Sets up the meta data for the mail (header, .

..)