Interface SendFailedMessageInfo

All Superinterfaces:
MessageInfo

public interface SendFailedMessageInfo extends MessageInfo
A SendFailedMessageInfo object provides information about a message that has failed to be sent.
Since:
13.18
  • Method Details

    • getPreSendMessage

      Optional<PreSendMessage> getPreSendMessage()
      Returns the PreSendMessage that could not be sent, if available. The message reflects the state of preparation at the time the failure occurred. The returned Optional is empty if the message is not available, e.g. because it could not be created due to missing attachments.
      Returns:
      an Optional of PreSendMessage or an empty Optional if the message failed to be created
      Since:
      13.18
    • getOutgoingAccount

      Optional<Account> getOutgoingAccount()
      Returns the outgoing account of the message, if available. The returned Optional is empty if the outgoing account is not available, e.g. because it could not be determined.
      Returns:
      an Optional of the outgoing Account or an empty Optional if the outgoing account is not available
      Since:
      13.18
    • getOutgoingChannel

      Channel getOutgoingChannel()
      Returns the outgoing channel of the message.
      Returns:
      the outgoing channel of the message.
      Since:
      13.18