glassfish:javamail:smtp-transport:sendMessageStart

started sending message by using SMTP event

Synopsis

glassfish:javamail:smtp-transport:sendMessageStart (
java.lang.String subject)

Description

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.

Parameters

subject

The subject header of the message that is being sent.