delete-javamail-resource [--help] [--target target] jndi_name
The delete-javamail-resource subcommand removes the specified JavaMail session resource. Ensure that you remove all references to this resource before running this subcommand.
This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
Do not specify this option. This option is retained for compatibility with other releases. If you specify this option, a syntax error does not occur. Instead, the subcommand runs successfully and the option is silently ignored.
This example deletes the JavaMail session resource named mail/MyMailSession.
asadmin> delete-javamail-resource mail/MyMailSession Command delete-javamail-resource executed successfully.