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.

           
Since9.0.0.0
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Deployer
Fully Qualified Interface NameIf 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
Additional Access Points In addition to accessing this MBean by invoking a factory method, you can also access this MBean from the following MBean attributes:
    Access Points Inherited from WLDFNotificationBean Because this MBean extends or implements WLDFNotificationBean, you can also access this MBean by retrieving WLDFNotificationBeans. The following attributes contain WLDFNotificationBeans and its subtypes:


      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
      Typejava.lang.String

      Enabled

      Specifies whether this notification is enabled.

             
      Privileges Read/Write
      Typeboolean
      Default Valuetrue

      MailSessionJNDIName

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

             
      Privileges Read/Write
      Typejava.lang.String

      Name

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

             
      Privileges Read only
      Typejava.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
      Typeclass 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
      Typejava.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"
        ParametersObject [] {  recipient }

        where:

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

          recipient

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

        removeRecipient

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

           
        Operation Name"removeRecipient"
        ParametersObject [] {  recipient }

        where:

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

          recipient

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