AppenderMail
- LoggerAppender
AppenderMail 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 string | subject |
protected string | to |
protected boolean | dry |
protected string | body |
Methods summary
Modifier and Type | Method |
---|---|
public | append ( LoggingEvent event ) |
public | close ( ) |
public | setSubject ( unknown subject ) |
public | getSubject ( ) |
public | setTo ( unknown to ) |
public | getTo ( ) |
public | setFrom ( unknown from ) |
public | getFrom ( ) |
public | setDry ( unknown dry ) |
Properties in detail
-
from
protected string from
Email address to put in From field of the email.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 -
body
protected string body
Buffer which holds the email contents before it is sent.var
string
Methods in detail
-
append
public append ( LoggingEvent event ) -
close
public close ( ) -
setSubject
public setSubject ( unknown subject ) -
getSubject
public getSubject ( ) -
setTo
public setTo ( unknown to ) -
getTo
public getTo ( ) -
setFrom
public setFrom ( unknown from ) -
getFrom
public getFrom ( ) -
setDry
public setDry ( unknown dry )