326/461

## glassfish:javamail:smtp-transport:sendMessageEnd

finished sending message by using SMTP event

Synopsis

    glassfish:javamail:smtp-transport:sendMessageEnd ()

Description

This event is sent when the JavaMail service finishes sending 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:sendMessageStart` event.

Parameters

None.