java.lang.Object
i2p.susi.webmail.smtp.SMTPClient.SendExpect
- Enclosing class:
SMTPClient
A command to send and a result code to expect.
Field Summary
Constructor Summary
ConstructorsConstructorDescriptionSendExpect(String s, int e) Creates a command not carrying credentials.SendExpect(String s, int e, boolean sen) Creates a command, optionally marked as carrying credentials.Method Summary
Field Details
send
The SMTP command to write, without its trailing CRLF.expect
public final int expectThe reply code the server is expected to answer with.sensitive
public final boolean sensitiveTrue if the command carries credentials, so it is masked in debug logs.
Constructor Details
SendExpect
Creates a command not carrying credentials.- Parameters:
s- the SMTP command to writee- the reply code the server is expected to answer with
SendExpect
Creates a command, optionally marked as carrying credentials.- Parameters:
s- the SMTP command to writee- the reply code the server is expected to answer withsen- true if the command contains credentials to mask in debug logs