get-email-notifier-configuration

Retrieves the settings of the Email notifier

Synopsis

asadmin [asadmin-options] get-email-notifier-configuration [--help]
[--target target]

Description

This command can be used to retrieves the current settings of the Email notifier in Payara Server.

This command is available as long as the Email notifier’s core module is installed in the server.
This notifier’s extension is installed by default on Payara Server Enterprise.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

--target

This option helps specify the target on which you are retrieving the settings of the Email notifier. Valid values are:

server

Applies to the default server instance. This is the default value.

cluster_name

Applies to every server instance in the cluster.

instance_name

Applies to on a specified server instance.

Examples

Example 1 Retrieve the settings for the Email notifier in the DAS

asadmin get-email-notifier-configuration

Enabled  JNDI Name                  Recipient
true     mail/sampleSession         notifications@example.com

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also