Email Transport Guide

This guide describes the EMail transport configuration options.

MailTransportListener

The Email transport listener supporting POP3 and IMAP both with and without SSL. The standard Java POP3 or IMAP properties could be set at the email listener level.

Name Description

Standard Java POP3, IMAP properties

mail.pop3.host

The POP3 server to connect to

mail.pop3.port

The POP3 server port to connect to, if the connect() method doesn’t explicitly specify one. Defaults to 110

mail.imap.host

The IMAP server to connect to

mail.imap.port

The IMAP server port to connect to, if the connect() method doesn’t explicitly specify one. Defaults to 143

mail.pop3.socketFactory.class

If set, specifies the name of a class that implements the javax.net.SocketFactory interface. This class will be used to create POP3 sockets

mail.pop3.socketFactory.port

Specifies the port to connect to when using the specified socket factory. If not set, the default port will be used

mail.pop3.socketFactory.fallback

If set to true, failure to create a socket using the specified socket factory class will cause the socket to be created using the java.net.Socket class. Defaults to true

mail.imap.socketFactory.class

If set, specifies the name of a class that implements the javax.net.SocketFactory interface. This class will be used to create IMAP sockets

mail.imap.socketFactory.port

Specifies the port to connect to when using the specified socket factory. If not set, the default port will be used

mail.imap.socketFactory.fallback

If set to true, failure to create a socket using the specified socket factory class will cause the socket to be created using the java.net.Socket class. Defaults to true

Mail Constants

ultra.mail.remove_headers

ultra.mail.preserve_headers

MailTransportSender

The email transport sender over SMTP. The standard Java SMTP properties should be defined to the MailTransportSender. See javax.mail for more details on those properties.

Name Description

Standard Java SMTP Properties

mail.smtp.host

The SMTP server to connect to

mail.smtp.port

The SMTP server port to connect to, if the connect() method doesn’t explicitly specify one. Defaults to 25

mail.smtp.user

SMTP user account to use when sending email

mail.smtp.password

SMTP password

mail.smtp.from

From address to use when sending email

mail.smtp.starttls.enable

If true, enables the use of the STARTTLS command (if supported by the server) to switch the connection to a TLS-protected connection before issuing any login commands. Note that an appropriate trust store must configured so that the client will trust the server’s certificate. Defaults to false.

mail.smtp.auth

If true, attempt to authenticate the user using the AUTH command. Defaults to false.

Transport Binding Properties for Proxy Services
Constant FileConstants. Value Description

Polling Constants

CRON_EXPRESSION

ultra.polling.cron_expression

CRON expression for polling - e.g. 0/20/40 * * ? * MON-

CONCURRENT

ultra.polling.concurrent

Concurrent polling enabled? Default: false = only one thread of the ESB will "poll" for messages

REPEAT_INTERVAL

ultra.polling.repeat_interval

Polling interval in millis

START_DELAY

ultra.polling.start_delay

Amount of millis before polling for files from startup of ESB node

DISABLED

ultra.polling.disabled

Set (polling transport based) proxy service to be disabled temporarily - maybe used for testing

JavaMailProperties

POP3_USER

mail.pop3.user

POP3_PASSWORD

mail.pop3.password

IMAP_USER

mail.imap.user

IMAP_PASSWORD

mail.imap.password

Mail Constants

REMOVE_HEADERS

ultra.mail.remove_headers

PRESERVE_HEADERS

ultra.mail.preserve_headers

MOVE_AFTER_PROCESS

ultra.mail.move_after_process

MOVE_AFTER_FAILURE

ultra.mail.move_after_failure

PROTOCOL

ultra.mail.protocol

LEAVE_AFTER_PROCESS

ultra.mail.leave_after_process

LEAVE_AFTER_FAILURE

ultra.mail.leave_after_failure

Message Properties
Name

ultra.mail.from

ultra.mail.subject

ultra.mail.cc

ultra.mail.bcc

In this topic
In this topic
Contact Us