Use the list-javamail-resources subcommand in remote mode to list the existing JavaMail session resources.
Ensure that the server is running.
Remote subcommands require a running server.
List the JavaMail resources by using the list-javamail-resources(1) subcommand.
This example lists the JavaMail resources on localhost.
asadmin> list-javamail-resources mail/MyMailSession Command list-javamail-resources executed successfuly.
You can also view the full syntax and options of the subcommands by typing asadmin help list-javamail-resources at the command line.