JBoss

JMX MBean View

Back to Agent View Refresh MBean View

MBean description:

Simple SMTP Mail Sender. Use to send email messages through SMTP.

List of MBean attributes:

Name Type Access Value Description
SmtpHost java.lang.String RW The SMTP host name of your mail server.
SmtpPort int RW The SMTP port of your mail server (default is 25).
SmtpAuthentication boolean RW True False If true, attempt to authenticate the user using the AUTH command. Defaults to false.
SmtpUser java.lang.String RW Optional - if you use authenticated SMTP to send email, enter your username.
SmtpPassword java.lang.String W Optional - as above, enter your password if you use authenticated SMTP.
RetryIntervals java.lang.String RW Number and intervals of retries for a failed email delivery.
Format:
Comma separated list of number x interval pairs.
The interval can be specified in seconds (##s), minutes (##m), hours (##h) or days (##d).
Example:
5x1m,10x10m means retry a total of 5 times, one minute apart for each retry; then retry a total of 10 times, 10 minutes apart for each retry.
QueueName java.lang.String RW Used internally. Do NOT modify.
JMSServiceName javax.management.ObjectName RW View MBean Used internally. Do NOT modify.
Name java.lang.String R SendMailService The class name of the MBean
State int R 3 The status of the MBean
StateString java.lang.String R Started The status of the MBean in text form

List of MBean operations:


java.lang.String send()

Send email.

Param ParamType ParamValue ParamDescription
subject java.lang.String Subject
fromAddr java.lang.String from address
toAddr java.lang.String destination address
body java.lang.String Mail Body

void create()

Standard MBean lifecycle method


void start()

The start lifecycle operation


void stop()

The stop lifecycle operation


void destroy()

The destroy lifecycle operation


void jbossInternalLifecycle()

The detyped lifecycle operation (for internal use only)

Param ParamType ParamValue ParamDescription
method java.lang.String The lifecycle operation