n2n Page Rocket 1 API

n2n\log4php\appender\mail

­Mail­Event

MailEvent extends LoggerAppender
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Property summary

Modifier and Type Property
protected string from
protected integer port
protected string smtpHost
protected string subject
protected string to
protected boolean dry

Methods summary

Modifier and Type Method
public activateOptions ( )
public append ( LoggingEvent event )
public setFrom ( unknown from )
public getFrom ( )
public setPort ( unknown port )
public getPort ( )
public setSmtpHost ( unknown smtpHost )
public getSmtpHost ( )
public setSubject ( unknown subject )
public getSubject ( )
public setTo ( unknown to )
public getTo ( )
public setDry ( unknown dry )

Properties in detail

  • from

    protected ­ ­ string ­ from
    Email address to put in From field of the email.
    var
    string
  • port

    protected ­ ­ integer ­ port
    Mail server port (widnows only).
    var
    integer
  • smtpHost

    protected ­ ­ string ­ smtpHost
    Mail server hostname (windows only).
    var
    string
  • subject

    protected ­ ­ string ­ subject
    The subject of the email.
    var
    string
  • to

    protected ­ ­ string ­ to
    One or more comma separated email addresses to which to send the email.
    var
    string
  • dry

    protected ­ ­ boolean ­ dry
    Indiciates whether this appender should run in dry mode.
    var
    boolean

Methods in detail

  • activateOptions

    public activateOptions ( )
  • append

    public append ( LoggingEvent event )
  • setFrom

    public setFrom ( unknown from )
  • getFrom

    public getFrom ( )
  • setPort

    public setPort ( unknown port )
  • getPort

    public getPort ( )
  • setSmtpHost

    public setSmtpHost ( unknown smtpHost )
  • getSmtpHost

    public getSmtpHost ( )
  • setSubject

    public setSubject ( unknown subject )
  • getSubject

    public getSubject ( )
  • setTo

    public setTo ( unknown to )
  • getTo

    public getTo ( )
  • setDry

    public setDry ( unknown dry )