Class Rfc821Status

  • All Implemented Interfaces:
    MailSystemStatus

    public class Rfc821Status
    extends Object
    implements MailSystemStatus
    This class represents an SMTP status which does not include enhanced status code.
    • Constructor Summary

      Constructors 
      Constructor Description
      Rfc821Status​(org.subethamail.smtp.client.SMTPClient.Response response)  
    • Method Summary

      All Methods Instance Methods Concrete 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.
      String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait