Overview

Namespaces

  • Jyxo
    • Beholder
      • TestCase
    • Gettext
      • Parser
    • Input
      • Chain
      • Filter
      • Validator
    • Mail
      • Email
        • Attachment
      • Parser
      • Sender
    • Rpc
      • Json
      • Xml
    • Shell
    • Spl
    • Svn
    • Time
    • Webdav
  • PHP

Classes

  • Charset
  • Color
  • Css
  • ErrorHandler
  • ErrorMail
  • FirePhp
  • Html
  • HtmlTag
  • SpamFilter
  • String
  • Timer
  • XmlReader

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class ErrorMail

Class for sending error emails (can be used in register_shutdown_function, etc.)

Namespace: Jyxo
Category: Jyxo
Package: Jyxo\ErrorHandling
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jakub Tománek
Located at ErrorMail.php
Methods summary
public
# __construct( string $timerFile, string|array $recipients, string $sender )

Constructor.

Constructor.

Parameters

$timerFile
string
Path to the file with last sending timestamp
$recipients
string|array
Recipient(s)
$sender
string
Mail sender
public
# send( Exception $e, boolean $forceTimer = false )

Sends the error email.

Sends the error email.

Parameters

$e
Jyxo\Exception
Caught exception
$forceTimer
boolean
Ignore timer (Always send)
Constants summary
integer SEND_INTERVAL 600
#

Minimal interval between sending two mails; to prevent from mailserver flooding.

Minimal interval between sending two mails; to prevent from mailserver flooding.

Jyxo PHP Library API documentation generated by ApiGen 2.3.0