Name

service

SMTP Client Service — Delivers messages using SMTP to remote servers

<service class="xms.transport.smtp.SMTPClientService" name="name" > child tags </service>

Table 69. Attributes for service tag (for xms.transport.smtp.SMTPClientService)

NameDescriptionTypeDefault ValueRequired
addressThe local address to bind to for outgoing connections.InetAddress A valid IP address (or hostname, which will be resolved on server startup). Use * to bind all addresses.* (Determined by policy service)no
connectTimeoutTimeout in ms for connection attemptsint any integer120000no
connectionIdleTimeDeprecated, does nothingint any integernoneno
disableDSNAllows you to disable DSNs if you handle them via actionsboolean true or falsenoneno
hostMapA String Map that maps local IPs to hostnamesStringMap Name of a StringMap as defined in StringMapServicenoneno
hostnameThe fully qualified hostname of this machineString any character combinationnoneno
maxHandlersThe number of simultaneous connections permittedint value between 1 and 2147483647200no
pixHackEnsures terminating <CR><LF>.<CR><LF> is contained completely in one packet to workaround a pix firewall issue.boolean true or falsefalseno
protocolSpecifies the protocol to use when contacting remote serversProtocol One of the following values: smtp,lmtpsmtpno
socketTimeoutTimeout in ms for socket operationsint any integer300000no
targetThe address of the server to direct messages to.InetSocketAddress A hostname:port pair or hostname. Port is 25 if unspecified* (Messages are directed to the address in their envelope)no

Service Dependencies

This tag depends on the following services (or a service that extends or implements these classes)

Child Tags

Action

<action class="class" />

Classes Implementing xms.action.Action

The following classes can be used in the class attribute for this tag:

DeliveryPolicy

<policy class="class" />

Classes Implementing xms.policy.DeliveryPolicy

The following classes can be used in the class attribute for this tag:

Example 66. Example configuration for SMTP Client Service

Required attributes are marked with a bold typeface

<service class="xms.transport.smtp.SMTPClientService" name="name"
      address="address"
      connectTimeout="connectTimeout"
      connectionIdleTime="connectionIdleTime"
      disableDSN="disableDSN"
      hostMap="hostMap"
      hostname="hostname"
      maxHandlers="maxHandlers"
      pixHack="pixHack"
      protocol="protocol"
      socketTimeout="socketTimeout"
      target="target">
    <action class="class" name="name"  />
    <policy class="class" name="name"  />
</service>