Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
started sending message by using SMTP event
glassfish:javamail:smtp-transport:sendMessageStart ( java.lang.String subject)
This event is sent when the JavaMail service starts to send a message by using Simple Mail Transfer Protocol (SMTP).
Use this event for the following purposes:
To count the number of messages that the JavaMail service has sent.
To measure the amount of time that the JavaMail service spends sending messages. In this situation, use this event with the glassfish:javamail:smtp-transport:sendMessageEnd
event.
subject
The subject header of the message that is being sent.