Package mireka.smtp
Interface MailSystemStatus
-
- All Known Implementing Classes:
EnhancedStatus,Rfc821Status
public interface MailSystemStatusThis 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 StringgetDiagnosticCode()Returns the original response without any parsing, for example old SMTP and new enhanced codes are included on every line (if they were present).StringgetMessage()Returns the extracted text message, SMTP and enhanced status codes are removed.intgetSmtpReplyCode()returns the original 3 digit reply codes, compatible with the original SMTP RFC.
-
-
-
Method Detail
-
getSmtpReplyCode
int getSmtpReplyCode()
returns the original 3 digit reply codes, compatible with the original SMTP RFC.- See Also:
- rfc5321 - 4.2. SMTP Replies
-
getMessage
String getMessage()
Returns the extracted text message, SMTP and enhanced status codes are removed. The result may consists of one or more lines.
-
getDiagnosticCode
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).
-
-