@UnstableApi public final class SmtpRequests extends Object
SmtpRequest
s.Modifier and Type | Method and Description |
---|---|
static SmtpRequest |
data()
Creates a
DATA request. |
static SmtpRequest |
ehlo(CharSequence hostname)
Creates a
EHLO request. |
static SmtpRequest |
expn(CharSequence mailingList)
Creates a
EXPN request. |
static SmtpRequest |
helo(CharSequence hostname)
Creates a
HELO request. |
static SmtpRequest |
help(String cmd)
Creates a
HELP request. |
static SmtpRequest |
mail(CharSequence sender,
CharSequence... mailParameters)
Creates a
MAIL request. |
static SmtpRequest |
noop()
Creates a
NOOP request. |
static SmtpRequest |
quit()
Creates a
QUIT request. |
static SmtpRequest |
rcpt(CharSequence recipient,
CharSequence... rcptParameters)
Creates a
RCPT request. |
static SmtpRequest |
rset()
Creates a
RSET request. |
static SmtpRequest |
vrfy(CharSequence user)
Creates a
VRFY request. |
public static SmtpRequest helo(CharSequence hostname)
HELO
request.public static SmtpRequest ehlo(CharSequence hostname)
EHLO
request.public static SmtpRequest noop()
NOOP
request.public static SmtpRequest data()
DATA
request.public static SmtpRequest rset()
RSET
request.public static SmtpRequest help(String cmd)
HELP
request.public static SmtpRequest quit()
QUIT
request.public static SmtpRequest mail(CharSequence sender, CharSequence... mailParameters)
MAIL
request.public static SmtpRequest rcpt(CharSequence recipient, CharSequence... rcptParameters)
RCPT
request.public static SmtpRequest expn(CharSequence mailingList)
EXPN
request.public static SmtpRequest vrfy(CharSequence user)
VRFY
request.Copyright © 2008–2017 The Netty Project. All rights reserved.