sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

User Commands | delete-javamail-resource(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- OPERANDS
- EXAMPLES
- EXIT STATUS
- INTERFACE EQUIVALENT
- SEE ALSO

## NAME

> delete-javamail-resource - removes the Javamail resource from the named instance

## SYNOPSIS

> ``delete-javamail-resource` --user admin_user[ --password admin_password ] [ --host localhost ][ --port 4848 ][ --passwordfile filename ] [ --secure|-s ][ --instance instance_name ]jndi_name`

## DESCRIPTION

> Removes the Javamail resource from the named instance.

## OPTIONS

> --user

>   administrative user associated for the instance.

> --password

>   administrative password corresponding to the administrative user.

> --host

>   host name of the machine hosting the administrative instance.

> --port

>   administrative port number associated with the administrative host.

> --passwordfile

>   file containing passwords appropriate for the command (e.g., administrative instance).

> --secure

>   if true, uses SSL/TLS to communicate with the administrative instance.

> --instance

>   name of the instance.

## OPERANDS

> jndi_name

>   JNDI name of the Javamail resource to be deleted.

## EXAMPLES

> Example 1. Using delete-javamail-resource

> > >     asadmin> delete-javamail-resource --user admin --password adminadmin --host fuyako --port 7070 --instance server1 sample_javamail_resource
> > >     Deleted the JavaMail resource with jndiname = sample_javamail_resource

> > Where: `sample_javamail_resource` is the javamail resource deleted..

## EXIT STATUS

> 0

>   command executed successfully

> 1

>   error in executing the command

## INTERFACE EQUIVALENT

> Javamail Sessions page

## SEE ALSO

> `create-javamail-resource`(1), `list-javamail-resources`(1)

Sun Java System Application Server | Go To Top | Last Changed 24 Dec 2003

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.