Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 453d9f45d0ad8c373a90f413059ffa29 > files > 497

log4cxx-devel-0.10.0-10.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Apache log4cxx: SMTPAppender Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Apache log4cxx&#160;<span id="projectnumber">Version 0.10.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classlog4cxx_1_1net_1_1_s_m_t_p_appender.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>SMTPAppender Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="log4cxx::net::SMTPAppender" --><!-- doxytag: inherits="log4cxx::AppenderSkeleton" -->
<p>Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.  
<a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classlog4cxx_1_1_appender_skeleton.html">log4cxx::AppenderSkeleton</a>.</p>

<p><a href="classlog4cxx_1_1net_1_1_s_m_t_p_appender-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#af6cadacdfce208b69f253f1ed8f87dc1">SMTPAppender</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a6adf9f23749a801320d83d356217c234">SMTPAppender</a> (<a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The default constructor will instantiate the appender with a <a class="el" href="classlog4cxx_1_1spi_1_1_triggering_event_evaluator.html" title="Implementions of this interface allow certain appenders to decide when to perform an appender specifi...">spi::TriggeringEventEvaluator</a> that will trigger on events with level ERROR or higher.  <a href="#a6adf9f23749a801320d83d356217c234"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a049357f0ecb56840daf490160b8003f7">SMTPAppender</a> (spi::TriggeringEventEvaluatorPtr evaluator)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Use <code>evaluator</code> passed as parameter as the <a class="el" href="classlog4cxx_1_1spi_1_1_triggering_event_evaluator.html" title="Implementions of this interface allow certain appenders to decide when to perform an appender specifi...">spi::TriggeringEventEvaluator</a> for this <a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html" title="Send an e-mail when a specific logging event occurs, typically on errors or fatal errors...">net::SMTPAppender</a>.  <a href="#a049357f0ecb56840daf490160b8003f7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a7cc68a3f9966927b2de0f5d9d1aa7ed8">~SMTPAppender</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#aee5023c29cca9dc68164b22a01cb7c6e">setOption</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;option, const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set options.  <a href="#aee5023c29cca9dc68164b22a01cb7c6e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#af1f3ced78d335ec9c2b800d6d5aa3ef8">activateOptions</a> (<a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Activate the specified options, such as the smtp host, the recipient, from, etc.  <a href="#af1f3ced78d335ec9c2b800d6d5aa3ef8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#ac0184656854a0362e99b46512b6a1761">append</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggingEventPtr</a> &amp;event, <a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform <a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html" title="Send an e-mail when a specific logging event occurs, typically on errors or fatal errors...">SMTPAppender</a> specific appending actions, mainly adding the event to a cyclic buffer and checking if the event triggers an e-mail to be sent.  <a href="#ac0184656854a0362e99b46512b6a1761"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a47feccb1873356363e4d0e302bc3822c">close</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Release any resources allocated within the appender such as file handles, network connections, etc.  <a href="#a47feccb1873356363e4d0e302bc3822c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a1ecd633bca5cbc3b3fb8b3af0707b997">getTo</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>To</b> option.  <a href="#a1ecd633bca5cbc3b3fb8b3af0707b997"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a84d3993fc72f88dc05f1c8bd407d0808">getCc</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>cc</b> option.  <a href="#a84d3993fc72f88dc05f1c8bd407d0808"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#ae6dc0c76b933923bcf9176d24c0854ee">getBcc</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>bcc</b> option.  <a href="#ae6dc0c76b933923bcf9176d24c0854ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a4312e727a9ea814779d2c9950dc3c73e">requiresLayout</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html" title="Send an e-mail when a specific logging event occurs, typically on errors or fatal errors...">SMTPAppender</a></code> requires a <a class="el" href="classlog4cxx_1_1_layout.html">layout</a>.  <a href="#a4312e727a9ea814779d2c9950dc3c73e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#ab36163233bc3e9574ab3a466a0149631">sendBuffer</a> (<a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the contents of the cyclic buffer as an e-mail message.  <a href="#ab36163233bc3e9574ab3a466a0149631"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a4d78f16223090599db771d65eef86447">getEvaluatorClass</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>EvaluatorClass</b> option.  <a href="#a4d78f16223090599db771d65eef86447"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a323fa0dbb23ab03f8ba7fe6b10c20587">getFrom</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>From</b> option.  <a href="#a323fa0dbb23ab03f8ba7fe6b10c20587"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a41e3544076e3879a53898de25a941ae2">getSubject</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>Subject</b> option.  <a href="#a41e3544076e3879a53898de25a941ae2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a4284fb6e0b181934bcd6da9bd8a76823">setFrom</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;from)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>From</b> option takes a string value which should be a e-mail address of the sender.  <a href="#a4284fb6e0b181934bcd6da9bd8a76823"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a6abdf7b770fb20a2d26f4588b2aa92a1">setSubject</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;subject)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>Subject</b> option takes a string value which should be a the subject of the e-mail message.  <a href="#a6abdf7b770fb20a2d26f4588b2aa92a1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a7141957b3cb24113a350bf9e4c429824">setBufferSize</a> (int bufferSize)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>BufferSize</b> option takes a positive integer representing the maximum number of logging events to collect in a cyclic buffer.  <a href="#a7141957b3cb24113a350bf9e4c429824"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a548eedb1d8783c7113f0c2113ffd6bd2">setSMTPHost</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;smtpHost)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>SMTPHost</b> option takes a string value which should be a the host name of the SMTP server that will send the e-mail message.  <a href="#a548eedb1d8783c7113f0c2113ffd6bd2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#af63bab7b8bd90df443c854c31a137311">getSMTPHost</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>SMTPHost</b> option.  <a href="#af63bab7b8bd90df443c854c31a137311"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a1dd1d5315ac0d03c128fe5de3d46de5d">setSMTPPort</a> (int port)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>SMTPPort</b> option takes a string value which should be a the port of the SMTP server that will send the e-mail message.  <a href="#a1dd1d5315ac0d03c128fe5de3d46de5d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a939d79e19f092b448f30d571d35e4e96">getSMTPPort</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>SMTPHost</b> option.  <a href="#a939d79e19f092b448f30d571d35e4e96"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a2017956ed345e7082ad70938367ccf40">setTo</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;to)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>To</b> option takes a string value which should be a comma separated list of e-mail address of the recipients.  <a href="#a2017956ed345e7082ad70938367ccf40"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a8cf138b1f541acadd93fe8238eba1df7">setCc</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;to)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>Cc</b> option takes a string value which should be a comma separated list of e-mail address of the cc'd recipients.  <a href="#a8cf138b1f541acadd93fe8238eba1df7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#ac453e8c66b9f5695a2191e9e93355fd9">setBcc</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;to)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>Bcc</b> option takes a string value which should be a comma separated list of e-mail address of the bcc'd recipients.  <a href="#ac453e8c66b9f5695a2191e9e93355fd9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a5074bd6d86631265eb5c2ef020437190">setSMTPUsername</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;newVal)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>SMTPUsername</b> option takes a string value which should be a the user name for the SMTP server.  <a href="#a5074bd6d86631265eb5c2ef020437190"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#ab1b9214b8cb6211b3d50dd6fba0730cd">getSMTPUsername</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>SMTPUsername</b> option.  <a href="#ab1b9214b8cb6211b3d50dd6fba0730cd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a0a439781879b36e374c85304108c533f">setSMTPPassword</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;newVal)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>SMTPPassword</b> option takes a string value which should be a the password for the SMTP server.  <a href="#a0a439781879b36e374c85304108c533f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a9b078126be6f0e1295dc88960d571a78">getSMTPPassword</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>SMTPPassword</b> option.  <a href="#a9b078126be6f0e1295dc88960d571a78"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a5f0ab7189f063f69cdd39cbf74d5aaf5">getBufferSize</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>BufferSize</b> option.  <a href="#a5f0ab7189f063f69cdd39cbf74d5aaf5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">log4cxx::spi::TriggeringEventEvaluatorPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#ad651358cc733d7deddfd953ae5266c1d">getEvaluator</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current triggering evaluator.  <a href="#ad651358cc733d7deddfd953ae5266c1d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a90aa35fbd05fc5c1ead1bff15be7692e">setEvaluator</a> (log4cxx::spi::TriggeringEventEvaluatorPtr &amp;trigger)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the triggering evaluator.  <a href="#a90aa35fbd05fc5c1ead1bff15be7692e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#a956796e18de4411e926aead3a1d0a707">setEvaluatorClass</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>EvaluatorClass</b> option takes a string value representing the name of the class implementing the <a class="el" href="classlog4cxx_1_1spi_1_1_triggering_event_evaluator.html" title="Implementions of this interface allow certain appenders to decide when to perform an appender specifi...">spi::TriggeringEventEvaluator</a> interface.  <a href="#a956796e18de4411e926aead3a1d0a707"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#af4575e67c5c65bb5ff38a1c885a6108c">setLocationInfo</a> (bool locationInfo)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>LocationInfo</b> option is provided for compatibility with log4j and has no effect in <a class="el" href="namespacelog4cxx.html">log4cxx</a>.  <a href="#af4575e67c5c65bb5ff38a1c885a6108c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html#ad70ffd01a630335c8e0465b04f360db4">getLocationInfo</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>LocationInfo</b> option.  <a href="#ad70ffd01a630335c8e0465b04f360db4"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Send an e-mail when a specific logging event occurs, typically on errors or fatal errors. </p>
<p>The number of logging events delivered in this e-mail depend on the value of <b>BufferSize</b> option. The <code><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html" title="Send an e-mail when a specific logging event occurs, typically on errors or fatal errors...">SMTPAppender</a></code> keeps only the last <code>BufferSize</code> logging events in its cyclic buffer. This keeps memory requirements at a reasonable level while still delivering useful application context. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af6cadacdfce208b69f253f1ed8f87dc1"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::SMTPAppender" ref="af6cadacdfce208b69f253f1ed8f87dc1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html">SMTPAppender</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6adf9f23749a801320d83d356217c234"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::SMTPAppender" ref="a6adf9f23749a801320d83d356217c234" args="(log4cxx::helpers::Pool &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html">SMTPAppender</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The default constructor will instantiate the appender with a <a class="el" href="classlog4cxx_1_1spi_1_1_triggering_event_evaluator.html" title="Implementions of this interface allow certain appenders to decide when to perform an appender specifi...">spi::TriggeringEventEvaluator</a> that will trigger on events with level ERROR or higher. </p>

</div>
</div>
<a class="anchor" id="a049357f0ecb56840daf490160b8003f7"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::SMTPAppender" ref="a049357f0ecb56840daf490160b8003f7" args="(spi::TriggeringEventEvaluatorPtr evaluator)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html">SMTPAppender</a> </td>
          <td>(</td>
          <td class="paramtype">spi::TriggeringEventEvaluatorPtr&#160;</td>
          <td class="paramname"><em>evaluator</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Use <code>evaluator</code> passed as parameter as the <a class="el" href="classlog4cxx_1_1spi_1_1_triggering_event_evaluator.html" title="Implementions of this interface allow certain appenders to decide when to perform an appender specifi...">spi::TriggeringEventEvaluator</a> for this <a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html" title="Send an e-mail when a specific logging event occurs, typically on errors or fatal errors...">net::SMTPAppender</a>. </p>

</div>
</div>
<a class="anchor" id="a7cc68a3f9966927b2de0f5d9d1aa7ed8"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::~SMTPAppender" ref="a7cc68a3f9966927b2de0f5d9d1aa7ed8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html">SMTPAppender</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af1f3ced78d335ec9c2b800d6d5aa3ef8"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::activateOptions" ref="af1f3ced78d335ec9c2b800d6d5aa3ef8" args="(log4cxx::helpers::Pool &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void activateOptions </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Activate the specified options, such as the smtp host, the recipient, from, etc. </p>

<p>Reimplemented from <a class="el" href="classlog4cxx_1_1_appender_skeleton.html#abe1aa95ede9cc9d0609905154129c0ba">AppenderSkeleton</a>.</p>

</div>
</div>
<a class="anchor" id="ac0184656854a0362e99b46512b6a1761"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::append" ref="ac0184656854a0362e99b46512b6a1761" args="(const spi::LoggingEventPtr &amp;event, log4cxx::helpers::Pool &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void append </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggingEventPtr</a> &amp;&#160;</td>
          <td class="paramname"><em>event</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Perform <a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html" title="Send an e-mail when a specific logging event occurs, typically on errors or fatal errors...">SMTPAppender</a> specific appending actions, mainly adding the event to a cyclic buffer and checking if the event triggers an e-mail to be sent. </p>

<p>Implements <a class="el" href="classlog4cxx_1_1_appender_skeleton.html#a4c08a91d859f636117f07463bb53fe41">AppenderSkeleton</a>.</p>

</div>
</div>
<a class="anchor" id="a47feccb1873356363e4d0e302bc3822c"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::close" ref="a47feccb1873356363e4d0e302bc3822c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Release any resources allocated within the appender such as file handles, network connections, etc. </p>
<p>It is a programming error to append to a closed appender. </p>

<p>Implements <a class="el" href="classlog4cxx_1_1_appender.html#af6ee7eacbde6b379b68d954e44f6e549">Appender</a>.</p>

</div>
</div>
<a class="anchor" id="ae6dc0c76b933923bcf9176d24c0854ee"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getBcc" ref="ae6dc0c76b933923bcf9176d24c0854ee" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> getBcc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>bcc</b> option. </p>

</div>
</div>
<a class="anchor" id="a5f0ab7189f063f69cdd39cbf74d5aaf5"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getBufferSize" ref="a5f0ab7189f063f69cdd39cbf74d5aaf5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getBufferSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>BufferSize</b> option. </p>

</div>
</div>
<a class="anchor" id="a84d3993fc72f88dc05f1c8bd407d0808"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getCc" ref="a84d3993fc72f88dc05f1c8bd407d0808" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> getCc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>cc</b> option. </p>

</div>
</div>
<a class="anchor" id="ad651358cc733d7deddfd953ae5266c1d"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getEvaluator" ref="ad651358cc733d7deddfd953ae5266c1d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">log4cxx::spi::TriggeringEventEvaluatorPtr getEvaluator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the current triggering evaluator. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>triggering evaluator. </dd></dl>

</div>
</div>
<a class="anchor" id="a4d78f16223090599db771d65eef86447"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getEvaluatorClass" ref="a4d78f16223090599db771d65eef86447" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> getEvaluatorClass </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>EvaluatorClass</b> option. </p>

</div>
</div>
<a class="anchor" id="a323fa0dbb23ab03f8ba7fe6b10c20587"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getFrom" ref="a323fa0dbb23ab03f8ba7fe6b10c20587" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> getFrom </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>From</b> option. </p>

</div>
</div>
<a class="anchor" id="ad70ffd01a630335c8e0465b04f360db4"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getLocationInfo" ref="ad70ffd01a630335c8e0465b04f360db4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool getLocationInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>LocationInfo</b> option. </p>

</div>
</div>
<a class="anchor" id="af63bab7b8bd90df443c854c31a137311"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getSMTPHost" ref="af63bab7b8bd90df443c854c31a137311" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> getSMTPHost </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>SMTPHost</b> option. </p>

</div>
</div>
<a class="anchor" id="a9b078126be6f0e1295dc88960d571a78"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getSMTPPassword" ref="a9b078126be6f0e1295dc88960d571a78" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> getSMTPPassword </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>SMTPPassword</b> option. </p>

</div>
</div>
<a class="anchor" id="a939d79e19f092b448f30d571d35e4e96"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getSMTPPort" ref="a939d79e19f092b448f30d571d35e4e96" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getSMTPPort </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>SMTPHost</b> option. </p>

</div>
</div>
<a class="anchor" id="ab1b9214b8cb6211b3d50dd6fba0730cd"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getSMTPUsername" ref="ab1b9214b8cb6211b3d50dd6fba0730cd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> getSMTPUsername </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>SMTPUsername</b> option. </p>

</div>
</div>
<a class="anchor" id="a41e3544076e3879a53898de25a941ae2"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getSubject" ref="a41e3544076e3879a53898de25a941ae2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> getSubject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>Subject</b> option. </p>

</div>
</div>
<a class="anchor" id="a1ecd633bca5cbc3b3fb8b3af0707b997"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::getTo" ref="a1ecd633bca5cbc3b3fb8b3af0707b997" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> getTo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>To</b> option. </p>

</div>
</div>
<a class="anchor" id="a4312e727a9ea814779d2c9950dc3c73e"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::requiresLayout" ref="a4312e727a9ea814779d2c9950dc3c73e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool requiresLayout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <code><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html" title="Send an e-mail when a specific logging event occurs, typically on errors or fatal errors...">SMTPAppender</a></code> requires a <a class="el" href="classlog4cxx_1_1_layout.html">layout</a>. </p>

<p>Implements <a class="el" href="classlog4cxx_1_1_appender.html#a1fa0a21a0f0a6ec3a9e92a98db9ffa85">Appender</a>.</p>

</div>
</div>
<a class="anchor" id="ab36163233bc3e9574ab3a466a0149631"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::sendBuffer" ref="ab36163233bc3e9574ab3a466a0149631" args="(log4cxx::helpers::Pool &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sendBuffer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Send the contents of the cyclic buffer as an e-mail message. </p>

</div>
</div>
<a class="anchor" id="ac453e8c66b9f5695a2191e9e93355fd9"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setBcc" ref="ac453e8c66b9f5695a2191e9e93355fd9" args="(const LogString &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setBcc </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>to</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>Bcc</b> option takes a string value which should be a comma separated list of e-mail address of the bcc'd recipients. </p>

</div>
</div>
<a class="anchor" id="a7141957b3cb24113a350bf9e4c429824"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setBufferSize" ref="a7141957b3cb24113a350bf9e4c429824" args="(int bufferSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setBufferSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bufferSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>BufferSize</b> option takes a positive integer representing the maximum number of logging events to collect in a cyclic buffer. </p>
<p>When the <code>BufferSize</code> is reached, oldest events are deleted as new events are added to the buffer. By default the size of the cyclic buffer is 512 events. </p>

</div>
</div>
<a class="anchor" id="a8cf138b1f541acadd93fe8238eba1df7"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setCc" ref="a8cf138b1f541acadd93fe8238eba1df7" args="(const LogString &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setCc </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>to</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>Cc</b> option takes a string value which should be a comma separated list of e-mail address of the cc'd recipients. </p>

</div>
</div>
<a class="anchor" id="a90aa35fbd05fc5c1ead1bff15be7692e"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setEvaluator" ref="a90aa35fbd05fc5c1ead1bff15be7692e" args="(log4cxx::spi::TriggeringEventEvaluatorPtr &amp;trigger)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setEvaluator </td>
          <td>(</td>
          <td class="paramtype">log4cxx::spi::TriggeringEventEvaluatorPtr &amp;&#160;</td>
          <td class="paramname"><em>trigger</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the triggering evaluator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">trigger</td><td>triggering evaluator. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a956796e18de4411e926aead3a1d0a707"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setEvaluatorClass" ref="a956796e18de4411e926aead3a1d0a707" args="(const LogString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setEvaluatorClass </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>EvaluatorClass</b> option takes a string value representing the name of the class implementing the <a class="el" href="classlog4cxx_1_1spi_1_1_triggering_event_evaluator.html" title="Implementions of this interface allow certain appenders to decide when to perform an appender specifi...">spi::TriggeringEventEvaluator</a> interface. </p>
<p>A corresponding object will be instantiated and assigned as the triggering event evaluator for the <a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html" title="Send an e-mail when a specific logging event occurs, typically on errors or fatal errors...">SMTPAppender</a>. </p>

</div>
</div>
<a class="anchor" id="a4284fb6e0b181934bcd6da9bd8a76823"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setFrom" ref="a4284fb6e0b181934bcd6da9bd8a76823" args="(const LogString &amp;from)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setFrom </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>from</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>From</b> option takes a string value which should be a e-mail address of the sender. </p>

</div>
</div>
<a class="anchor" id="af4575e67c5c65bb5ff38a1c885a6108c"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setLocationInfo" ref="af4575e67c5c65bb5ff38a1c885a6108c" args="(bool locationInfo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setLocationInfo </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>locationInfo</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>LocationInfo</b> option is provided for compatibility with log4j and has no effect in <a class="el" href="namespacelog4cxx.html">log4cxx</a>. </p>

</div>
</div>
<a class="anchor" id="aee5023c29cca9dc68164b22a01cb7c6e"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setOption" ref="aee5023c29cca9dc68164b22a01cb7c6e" args="(const LogString &amp;option, const LogString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void setOption </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>option</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set options. </p>

<p>Reimplemented from <a class="el" href="classlog4cxx_1_1_appender_skeleton.html#aee5023c29cca9dc68164b22a01cb7c6e">AppenderSkeleton</a>.</p>

</div>
</div>
<a class="anchor" id="a548eedb1d8783c7113f0c2113ffd6bd2"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setSMTPHost" ref="a548eedb1d8783c7113f0c2113ffd6bd2" args="(const LogString &amp;smtpHost)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setSMTPHost </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>smtpHost</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>SMTPHost</b> option takes a string value which should be a the host name of the SMTP server that will send the e-mail message. </p>

</div>
</div>
<a class="anchor" id="a0a439781879b36e374c85304108c533f"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setSMTPPassword" ref="a0a439781879b36e374c85304108c533f" args="(const LogString &amp;newVal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setSMTPPassword </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>newVal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>SMTPPassword</b> option takes a string value which should be a the password for the SMTP server. </p>

</div>
</div>
<a class="anchor" id="a1dd1d5315ac0d03c128fe5de3d46de5d"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setSMTPPort" ref="a1dd1d5315ac0d03c128fe5de3d46de5d" args="(int port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setSMTPPort </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>port</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>SMTPPort</b> option takes a string value which should be a the port of the SMTP server that will send the e-mail message. </p>

</div>
</div>
<a class="anchor" id="a5074bd6d86631265eb5c2ef020437190"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setSMTPUsername" ref="a5074bd6d86631265eb5c2ef020437190" args="(const LogString &amp;newVal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setSMTPUsername </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>newVal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>SMTPUsername</b> option takes a string value which should be a the user name for the SMTP server. </p>

</div>
</div>
<a class="anchor" id="a6abdf7b770fb20a2d26f4588b2aa92a1"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setSubject" ref="a6abdf7b770fb20a2d26f4588b2aa92a1" args="(const LogString &amp;subject)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setSubject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>subject</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>Subject</b> option takes a string value which should be a the subject of the e-mail message. </p>

</div>
</div>
<a class="anchor" id="a2017956ed345e7082ad70938367ccf40"></a><!-- doxytag: member="log4cxx::net::SMTPAppender::setTo" ref="a2017956ed345e7082ad70938367ccf40" args="(const LogString &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>to</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>To</b> option takes a string value which should be a comma separated list of e-mail address of the recipients. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="smtpappender_8h.html">smtpappender.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacelog4cxx.html">log4cxx</a>      </li>
      <li class="navelem"><a class="el" href="namespacelog4cxx_1_1net.html">net</a>      </li>
      <li class="navelem"><a class="el" href="classlog4cxx_1_1net_1_1_s_m_t_p_appender.html">SMTPAppender</a>      </li>
<!--
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.
-->
    </BODY>
</HTML>