public class Rfc821Status extends Object implements MailSystemStatus
| Constructor and Description |
|---|
Rfc821Status(org.subethamail.smtp.client.SMTPClient.Response response) |
| Modifier and Type | Method and 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() |
public Rfc821Status(org.subethamail.smtp.client.SMTPClient.Response response)
public int getSmtpReplyCode()
MailSystemStatusgetSmtpReplyCode in interface MailSystemStatuspublic String getMessage()
MailSystemStatusgetMessage in interface MailSystemStatuspublic String getDiagnosticCode()
MailSystemStatuspublic String toString()
toString in class Object