InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.0: About user assistance >
6.6.0.2: Command line administration >
6.6.0.2.2: WebSphere Control Program (wscp) >
6.6.0.2.2.4: Example wscp commands, procedures, and scripts >
6.6.0.2.2.4.13: Administering JavaMail sessions

6.6.0.2.2.4.13: Administering JavaMail sessions

The wscp MailSession operations are used to manage JavaMail sessions. JavaMail enables applications to compose, send and receive electronic mail.

The following example command shows how to create a new JavaMail session that uses the SMTP mail protocol. The session name and MailTransportHost attributes are required.

wscp> MailSession create /MailSession:Session1/ -attribute
{{MailTransportHost mailhost} {MailTransportProtocol smtp}}

The following example command shows how to destroy a JavaMail session:

wscp> MailSession remove /MailSession:Session1/
Go to previous article: 6.6.0.2.2.4.12: Administering the Java Message Service (JMS) Go to next article: 6.6.0.2.2.4.14: Administering URL providers and URLs

 

 
Go to previous article: 6.6.0.2.2.4.12: Administering the Java Message Service (JMS) Go to next article: 6.6.0.2.2.4.14: Administering URL providers and URLs