World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.event.<event_name>.email.smtp.auth.type Property

wrapper.event.<event_name>.email.smtp.auth.type

Compatibility :3.5.3
Editions :Professional EditionStandard Edition (Not Supported)Community Edition (Not Supported)
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

This property makes it possible to specify an authentication method to use when connecting to an SMTP server to send an email.

Like several of the event emails properties, it can be defined:

  • Globally for all events: wrapper.event.default.email.smtp.auth.type property, or
  • For a specific event: wrapper.event.<event_name>.email.smtp.auth.type property.

The "<event_name>" component of the property name can be either the keyword "default", or one of the Event Types. By setting the default property, all Event Types which are not set explicitly will take on that value.

Currently, the following authentication types are supported. Note that currently the Wrapper does not yet support SSL based connection types. We plan to add additional authentication types, including SSL, in the future.

The default value is "NONE".

  • NONE

    Authentication will not be used.

  • LOGIN

    The user Id and password are passed to the server using BASE64 encoding. This is a fairly low security authentication method as the UserId and Password are effectively plain text.

  • PLAIN:

    The user Id and password are passed to the server in plain text.

Example:
wrapper.event.default.email.smtp.host=smtp.example.com
wrapper.event.default.email.smtp.port=25
wrapper.event.default.email.smtp.auth.type=PLAIN
wrapper.event.default.email.smtp.auth.userid=me@example.com
wrapper.event.default.email.smtp.auth.password=PASSWORD

Please see the overview of Event Mails for the usage examples.

Reference: Event Mails