Version: current

# Class SS_LogEmailWriter

Sends an error message to an email whenever an error occurs in sapphire.

  Zend_Log_Writer_Abstract
  SS_LogEmailWriter

Package: sapphire\dev
See: SS_Log for more information on using writers.
Located at sapphire/dev/LogEmailWriter.php

## Methods summary

`public` | # `__construct( mixed $emailAddress, mixed $customSmtpServer = false )`
`public static` | # `set_send_from( mixed $address )`
`public static` | # `get_send_from( )`
`public` | # `_write( mixed $event )` Send an email to the email address set in this writer. Send an email to the email address set in this writer.

### Magic methods summary

## Properties summary

`protected static string` | $send_from | # Email address to send log information from Email address to send log information from
`protected mixed` | $emailAddress | #
`protected mixed` | $customSmtpServer | #

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -