@UnstableApi public final class SmtpRequests extends java.lang.Object
SmtpRequest
s.限定符和类型 | 方法和说明 |
---|---|
static SmtpRequest |
auth(java.lang.CharSequence... parameter)
Creates a
AUTH request. |
static SmtpRequest |
data()
Creates a
DATA request. |
static SmtpRequest |
ehlo(java.lang.CharSequence hostname)
Creates a
EHLO request. |
static SmtpRequest |
empty(java.lang.CharSequence... parameter)
Creates a
EMPTY request. |
static SmtpRequest |
expn(java.lang.CharSequence mailingList)
Creates a
EXPN request. |
static SmtpRequest |
helo(java.lang.CharSequence hostname)
Creates a
HELO request. |
static SmtpRequest |
help(java.lang.String cmd)
Creates a
HELP request. |
static SmtpRequest |
mail(java.lang.CharSequence sender,
java.lang.CharSequence... mailParameters)
Creates a
MAIL request. |
static SmtpRequest |
noop()
Creates a
NOOP request. |
static SmtpRequest |
quit()
Creates a
QUIT request. |
static SmtpRequest |
rcpt(java.lang.CharSequence recipient,
java.lang.CharSequence... rcptParameters)
Creates a
RCPT request. |
static SmtpRequest |
rset()
Creates a
RSET request. |
static SmtpRequest |
vrfy(java.lang.CharSequence user)
Creates a
VRFY request. |
public static SmtpRequest helo(java.lang.CharSequence hostname)
HELO
request.public static SmtpRequest ehlo(java.lang.CharSequence hostname)
EHLO
request.public static SmtpRequest empty(java.lang.CharSequence... parameter)
EMPTY
request.public static SmtpRequest auth(java.lang.CharSequence... parameter)
AUTH
request.public static SmtpRequest noop()
NOOP
request.public static SmtpRequest data()
DATA
request.public static SmtpRequest rset()
RSET
request.public static SmtpRequest help(java.lang.String cmd)
HELP
request.public static SmtpRequest quit()
QUIT
request.public static SmtpRequest mail(java.lang.CharSequence sender, java.lang.CharSequence... mailParameters)
MAIL
request.public static SmtpRequest rcpt(java.lang.CharSequence recipient, java.lang.CharSequence... rcptParameters)
RCPT
request.public static SmtpRequest expn(java.lang.CharSequence mailingList)
EXPN
request.public static SmtpRequest vrfy(java.lang.CharSequence user)
VRFY
request.