Interface IMailSendStatus

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int STATUS_SEND_PENDING
      Status code that indicates the sending is pending.
      static int STATUS_SENDING
      Status code that indicates the sending is in progress.
      static int STATUS_SENT_ERROR
      Status code that indicates the sending was tried but was unsucessful.
      static int STATUS_SENT_OK
      Status code that indicates the sending was completed successfully.
    • Field Detail

      • STATUS_SEND_PENDING

        static final int STATUS_SEND_PENDING
        Status code that indicates the sending is pending.
        Since:
        4.0.4
        See Also:
        getStatus(), Constant Field Values
      • STATUS_SENDING

        static final int STATUS_SENDING
        Status code that indicates the sending is in progress. If this status code stays for much time may indicate the sending process was interrupted, and it is not possible to know if it was sent or not.
        Since:
        4.0.4
        See Also:
        getStatus(), Constant Field Values
      • STATUS_SENT_OK

        static final int STATUS_SENT_OK
        Status code that indicates the sending was completed successfully.
        Since:
        4.0.4
        See Also:
        getStatus(), Constant Field Values
    • Method Detail

      • getSentDateTime

        Date getSentDateTime()
        Returns the datetime of the last try to send the mail.
        Returns:
        the datetime of the last try to send the mail.
        Since:
        4.0.4
      • setSentDateTime

        void setSentDateTime​(Date sentDate)
        Sets the datetime of the last try to send the mail.
        Parameters:
        sentDate - the datetime value to set.
        Since:
        4.0.4
      • getErrorMessage

        String getErrorMessage()
        Returns the error message of the last try to send the mail.
        Returns:
        the error message of the last try to send the mail.
        Since:
        4.0.4
      • setErrorMessage

        void setErrorMessage​(String msg)
        Sets the error message of the last try to send the mail.
        Parameters:
        msg - the error message to set.
        Since:
        4.0.4