WLDFSMTPNotificationBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Use this interface to define a SMTP notification, which is sent when a diagnostic watch evaluates to true.

Since 9.0.0.0    
Security roles The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:

  • Deployer
   
Fully Qualified Interface Name If you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.diagnostics.descriptor.WLDFSMTPNotificationBean
   
Factory Methods No factory methods. Instances of this MBean are created automatically.


Attributes

This section describes the following attributes:


 

Body

The body for the mail message. If the body is not specified, a body is created from the watch notification information.

   
Privileges Read/Write    
Type java.lang.String

 

Enabled

Whether this notification is enabled.

   
Privileges Read/Write    
Type boolean
Default Value true

 

MailSessionJNDIName

The JNDI name of the mail session. This name must match the attribute in the corresponding MailSessionMBean.

   
Privileges Read/Write    
Type java.lang.String

 

Name of

The name of the WebLogic Diagnostic Framework (WLDF) bean.

   
Privileges Read only    
Type java.lang.String
Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

 

Recipients

The address of the recipient or recipients of the SMTP notification mail. The address uses the syntax defined in RFC822. Typical address syntax is of the form user@host.domain or Personal Name. An address can include multiple recipients, separated by commas or spaces.

For more information, refer to the javax.mail.internet.InternetAddress.parse method.

   
Privileges Read/Write    
Type class java.lang.String[]

 

Subject

The subject for the mail message. If the subject is not specified, a subject is created from the watch notification information.

   
Privileges Read/Write    
Type java.lang.String


Operations

This section describes the following operations:


     

    addRecipient

    Adds a recipient to the list of e-mail addresses that will receive this notification.

    Operation Name "addRecipient"    
    Parameters Object [] {  recipient }

    where:

    • recipient is an object of type java.lang.String that specifies:

      recipient

    Signature String [] { "java.lang.String" }
    Returns void

     

    removeRecipient

    Removes a recipient from the list of e-mail addresses that will receive this notification.

    Operation Name "removeRecipient"    
    Parameters Object [] {  recipient }

    where:

    • recipient is an object of type java.lang.String that specifies:

      recipient

    Signature String [] { "java.lang.String" }
    Returns void