NativeMailerHandler uses the mail() function to send the emails

CloneableInstantiable
ExtendsMonolog\Handler\MailHandler
Monolog\Handler\AbstractProcessingHandler
Monolog\Handler\AbstractHandler
Monolog\Handler\Handler
ImplementsMonolog\Handler\FormattableHandlerInterface
Monolog\Handler\HandlerInterface
Monolog\Handler\ProcessableHandlerInterface
Monolog\ResettableInterface
Methods
public __construct( $to, string $subject, string $from, $level = 400, bool $bubble = true, int $maxColumnWidth = 70)
 
    public Monolog\Handler\Handler::__destruct()
    public Monolog\Handler\Handler::__sleep()
    public addHeader( $headers) : self
     

    Add headers to the message

      public addParameter( $parameters) : self
       

      Add parameters to the message

        public Monolog\Handler\Handler::close() : void
         

        {@inheritdoc}

        public Monolog\Handler\AbstractHandler::getBubble() : bool
         

        Gets the bubbling behavior.

        • return bool true means that this handler allows bubbling. false means that bubbling is not permitted.
        public getContentType() : string
        public getEncoding() : string
        public Monolog\Handler\AbstractProcessingHandler::getFormatter() : Monolog\Formatter\FormatterInterface
         

        {@inheritdoc}

        public Monolog\Handler\AbstractHandler::getLevel() : int
         

        Gets minimum logging level at which this handler will be triggered.

        • return int
        public Monolog\Handler\AbstractProcessingHandler::handle(array $record) : bool
         

        {@inheritdoc}

        public Monolog\Handler\MailHandler::handleBatch(array $records) : void
         

        {@inheritdoc}

        public Monolog\Handler\AbstractHandler::isHandling(array $record) : bool
         

        {@inheritdoc}

        public Monolog\Handler\AbstractProcessingHandler::popProcessor() : callable
         

        {@inheritdoc}

        public Monolog\Handler\AbstractProcessingHandler::pushProcessor(callable $callback) : Monolog\Handler\HandlerInterface
         

        {@inheritdoc}

        • suppress PhanTypeMismatchReturn
        public Monolog\Handler\AbstractProcessingHandler::reset()
        public Monolog\Handler\AbstractHandler::setBubble(bool $bubble) : self
         

        Sets the bubbling behavior.

        • return self
        public setContentType(string $contentType) : self
         
          public setEncoding(string $encoding) : self
          public Monolog\Handler\AbstractProcessingHandler::setFormatter(Monolog\Formatter\FormatterInterface $formatter) : Monolog\Handler\HandlerInterface
           

          {@inheritdoc}

          • suppress PhanTypeMismatchReturn
          public Monolog\Handler\AbstractHandler::setLevel( $level) : self
           

          Sets minimum logging level at which this handler will be triggered.

          • return self
          Properties
          protected Monolog\Handler\AbstractHandler::$bubble
          protected $contentType
           

          The Content-type for the message

          • var string|null
          protected $encoding
           

          The encoding for the message

          • var string
          protected Monolog\Handler\AbstractProcessingHandler::$formatter
           
          • var FormatterInterface
          protected $headers
           

          Optional headers for the message

          • var array
          protected Monolog\Handler\AbstractHandler::$level
          protected $maxColumnWidth
           

          The wordwrap length for the message

          • var int
          protected $parameters
           

          Optional parameters for the message

          • var array
          protected Monolog\Handler\AbstractProcessingHandler::$processors
           
          • var callable[]
          protected $subject
           

          The subject of the email

          • var string
          protected $to
           

          The email addresses to which the message will be sent

          • var array
          Methods
          protected Monolog\Handler\MailHandler::getDefaultFormatter() : Monolog\Formatter\FormatterInterface
           

          Gets the default formatter.

          • return FormatterInterface
          protected Monolog\Handler\MailHandler::getHighestRecord(array $records) : array
          protected Monolog\Handler\MailHandler::isHtmlBody(string $body) : bool
          protected Monolog\Handler\AbstractProcessingHandler::processRecord(array $record) : array
           

          Processes a record.

          protected Monolog\Handler\AbstractProcessingHandler::resetProcessors() : void
          protected send(string $content, array $records) : void
           

          {@inheritdoc}

          protected Monolog\Handler\MailHandler::write(array $record) : void
           

          {@inheritdoc}

          © 2020 Bruce Wells
          Search Namespaces \ Classes
          ConfigurationNumbers (0-9.) only