Package mireka.smtp

Interface MailSystemStatus

  • All Known Implementing Classes:
    EnhancedStatus, Rfc821Status

    public interface MailSystemStatus
    This interface represents an SMTP status, which is returned by a remote MTA in a response, or generated locally.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDiagnosticCode()
      Returns the original response without any parsing, for example old SMTP and new enhanced codes are included on every line (if they were present).
      String getMessage()
      Returns the extracted text message, SMTP and enhanced status codes are removed.
      int getSmtpReplyCode()
      returns the original 3 digit reply codes, compatible with the original SMTP RFC.