Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo Update a JavaMail Resource

  1. List the JavaMail resources by using the list-javamail-resources(1) subcommand.

  2. Modify the values for the specified JavaMail source by using the set(1) subcommand.

    The resource is identified by its dotted name.

Example 18–3 Updating a JavaMail Resource

This example changes joeserver to joe.

asadmin> set server.resources.mail-resource.mail/
Command set executed successfully.