ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
NativeMailerHandler uses the mail() function to send the emails. More...
Public Member Functions | ||||
__construct ($to, $subject, $from, $level=Logger::ERROR, $bubble=true, $maxColumnWidth=70) | ||||
addHeader ($headers) | ||||
Add headers to the message. More... | ||||
addParameter ($parameters) | ||||
Add parameters to the message. More... | ||||
getContentType () | ||||
getEncoding () | ||||
setContentType ($contentType) | ||||
setEncoding ($encoding) | ||||
Public Member Functions inherited from Monolog\Handler\MailHandler | ||||
handleBatch (array $records) | ||||
{Handles a set of records at once.
| ||||
Public Member Functions inherited from Monolog\Handler\AbstractProcessingHandler | ||||
handle (array $record) | ||||
{Handles a record.All records may be passed to this method, and the handler should discard those that it does not want to handle.The return value of this function controls the bubbling process of the handler stack. Unless the bubbling is interrupted (by returning true), the Logger class will keep on calling further handlers in the stack with a given log record.
| ||||
Public Member Functions inherited from Monolog\Handler\AbstractHandler | ||||
__construct ($level=Logger::DEBUG, $bubble=true) | ||||
isHandling (array $record) | ||||
{Checks whether the given record will be handled by this handler.This is mostly done for performance reasons, to avoid calling processors for nothing.Handlers should still check the record levels within handle(), returning false in isHandling() is no guarantee that handle() will not be called, and isHandling() might not be called for a given record.
| ||||
handleBatch (array $records) | ||||
{Handles a set of records at once.
| ||||
close () | ||||
Closes the handler. More... | ||||
pushProcessor ($callback) | ||||
{Adds a processor in the stack.
| ||||
popProcessor () | ||||
{Removes the processor on top of the stack and returns it.
| ||||
setFormatter (FormatterInterface $formatter) | ||||
{Sets the formatter.
| ||||
getFormatter () | ||||
{Gets the formatter.
| ||||
setLevel ($level) | ||||
Sets minimum logging level at which this handler will be triggered. More... | ||||
getLevel () | ||||
Gets minimum logging level at which this handler will be triggered. More... | ||||
setBubble ($bubble) | ||||
Sets the bubbling behavior. More... | ||||
getBubble () | ||||
Gets the bubbling behavior. More... | ||||
__destruct () | ||||
Protected Member Functions | |
send ($content, array $records) | |
{} More... | |
Protected Member Functions inherited from Monolog\Handler\MailHandler | |
send ($content, array $records) | |
Send a mail with the given content. More... | |
write (array $record) | |
{} More... | |
getHighestRecord (array $records) | |
Protected Member Functions inherited from Monolog\Handler\AbstractProcessingHandler | |
write (array $record) | |
Writes the record down to the log of the implementing handler. More... | |
processRecord (array $record) | |
Processes a record. More... | |
Protected Member Functions inherited from Monolog\Handler\AbstractHandler | |
getDefaultFormatter () | |
Gets the default formatter. More... | |
Protected Attributes | |
$to | |
$subject | |
$headers = array() | |
$parameters = array() | |
$maxColumnWidth | |
$contentType = 'text/plain' | |
$encoding = 'utf-8' | |
Protected Attributes inherited from Monolog\Handler\AbstractHandler | |
$level = Logger::DEBUG | |
$bubble = true | |
$formatter | |
$processors = array() | |
NativeMailerHandler uses the mail() function to send the emails.
Definition at line 23 of file NativeMailerHandler.php.
Monolog\Handler\NativeMailerHandler::__construct | ( | $to, | |
$subject, | |||
$from, | |||
$level = Logger::ERROR , |
|||
$bubble = true , |
|||
$maxColumnWidth = 70 |
|||
) |
string | array | $to | The receiver of the mail |
string | $subject | The subject of the mail |
string | $from | The sender of the mail |
int | $level | The minimum logging level at which this handler will be triggered |
bool | $bubble | Whether the messages that are handled can bubble up the stack or not |
int | $maxColumnWidth | The maximum column width that the message lines will have |
Definition at line 75 of file NativeMailerHandler.php.
References Monolog\Handler\AbstractHandler\$bubble, $from, Monolog\Handler\AbstractHandler\$level, Monolog\Handler\NativeMailerHandler\$maxColumnWidth, Monolog\Handler\NativeMailerHandler\$subject, Monolog\Handler\NativeMailerHandler\$to, Monolog\Handler\NativeMailerHandler\addHeader(), array, and to.
Monolog\Handler\NativeMailerHandler::addHeader | ( | $headers | ) |
Add headers to the message.
string | array | $headers | Custom added headers |
Definition at line 90 of file NativeMailerHandler.php.
References $header, Monolog\Handler\NativeMailerHandler\$headers, and array.
Referenced by Monolog\Handler\NativeMailerHandler\__construct().
Monolog\Handler\NativeMailerHandler::addParameter | ( | $parameters | ) |
Add parameters to the message.
string | array | $parameters | Custom added parameters |
Definition at line 108 of file NativeMailerHandler.php.
References Monolog\Handler\NativeMailerHandler\$parameters, and array.
Monolog\Handler\NativeMailerHandler::getContentType | ( | ) |
Definition at line 142 of file NativeMailerHandler.php.
References Monolog\Handler\NativeMailerHandler\$contentType.
Referenced by Monolog\Handler\NativeMailerHandler\send().
Monolog\Handler\NativeMailerHandler::getEncoding | ( | ) |
Definition at line 150 of file NativeMailerHandler.php.
References Monolog\Handler\NativeMailerHandler\$encoding.
Referenced by Monolog\Handler\NativeMailerHandler\send().
|
protected |
{}
Definition at line 118 of file NativeMailerHandler.php.
References Monolog\Handler\NativeMailerHandler\$headers, Monolog\Handler\NativeMailerHandler\$parameters, Monolog\Handler\NativeMailerHandler\$subject, Monolog\Handler\NativeMailerHandler\$to, Monolog\Handler\NativeMailerHandler\getContentType(), Monolog\Handler\NativeMailerHandler\getEncoding(), Monolog\Handler\MailHandler\getHighestRecord(), Monolog\Handler\mail(), and to.
Monolog\Handler\NativeMailerHandler::setContentType | ( | $contentType | ) |
string | $contentType | The content type of the email - Defaults to text/plain. Use text/html for HTML messages. |
Definition at line 160 of file NativeMailerHandler.php.
References Monolog\Handler\NativeMailerHandler\$contentType.
Monolog\Handler\NativeMailerHandler::setEncoding | ( | $encoding | ) |
string | $encoding |
Definition at line 175 of file NativeMailerHandler.php.
References Monolog\Handler\NativeMailerHandler\$encoding.
|
protected |
Definition at line 59 of file NativeMailerHandler.php.
Referenced by Monolog\Handler\NativeMailerHandler\getContentType(), and Monolog\Handler\NativeMailerHandler\setContentType().
|
protected |
Definition at line 65 of file NativeMailerHandler.php.
Referenced by Monolog\Handler\NativeMailerHandler\getEncoding(), and Monolog\Handler\NativeMailerHandler\setEncoding().
|
protected |
Definition at line 41 of file NativeMailerHandler.php.
Referenced by Monolog\Handler\NativeMailerHandler\addHeader(), and Monolog\Handler\NativeMailerHandler\send().
|
protected |
Definition at line 53 of file NativeMailerHandler.php.
Referenced by Monolog\Handler\NativeMailerHandler\__construct().
|
protected |
Definition at line 47 of file NativeMailerHandler.php.
Referenced by Monolog\Handler\NativeMailerHandler\addParameter(), and Monolog\Handler\NativeMailerHandler\send().
|
protected |
Definition at line 35 of file NativeMailerHandler.php.
Referenced by Monolog\Handler\NativeMailerHandler\__construct(), and Monolog\Handler\NativeMailerHandler\send().
|
protected |
Definition at line 29 of file NativeMailerHandler.php.
Referenced by Monolog\Handler\NativeMailerHandler\__construct(), and Monolog\Handler\NativeMailerHandler\send().