mailproc-status
Retrieve the status of a mailprocessor from a MailTransport
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > mailproc-status

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:mod:smtp

Definition

Active URI Base

active:mailproc-status

Format

<instr>
  <type>mailproc-status</type>
  <id>urn:org:ten60:mail:mailprocessor:1</id>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory mailproc-status
idMandatory A URI to use to identify the mailprocessor

The mailproc-status accessor retrieves the status of the identified mailprocessor from a MailTransport.

The MailTransport which receives the status request is located dynamically and is discovered from the first instance of ffcpl:/etc/MailTransportConfig.xml in the current module address space.

For more information on the operation of the MailTransport see the MailTransport guide.

Format

The status has the following format...

<mailProcessorStatus>
  <id>urn:org:ten60:mail:transport:1</id>
  <active>true</active>
  <processed>143</processed>
  <rejected>250</rejected>
  <mailProcessor> ...The current mailprocessor config for this mailprocessor - see mailproc-register... </mailProcessor>
</mailProcessorStatus>
© 2003-2005, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.