Class ScriptMailResult

    • Method Detail

      • waitTillProcessed

        @Deprecated(since="7.1M2")
        public void waitTillProcessed​(long timeout)
        Deprecated.
        use MailStatusResult.waitTillProcessed(long). Kept to not break script backward compatibility
        Wait till all messages on the sending queue have been sent (for this batch) before returning.
        Parameters:
        timeout - the maximum amount of time to wait in milliseconds
        Since:
        6.4
      • isProcessed

        @Deprecated
        public boolean isProcessed()
        Deprecated.
        since 7.1M2 use MailStatusResult.isProcessed() instead. Kept to not break script backward compatibility
        Returns:
        true if all the mails from this batch have been processed (sent successfully or not) or false otherwise
        Since:
        6.4RC1