Package | Description |
---|---|
org.columba.ristretto.smtp |
Low level implementation of the SMTP Protocol as specified by RFC 2821.
|
Modifier and Type | Method and Description |
---|---|
void |
SMTPProtocol.auth(java.lang.String algorithm,
java.lang.String user,
char[] password)
Authenticates a user.
|
void |
SMTPProtocol.data(java.io.InputStream data)
Sends a DATA command which sends the mail to the recipients specified by
the RCPT command.
|
java.lang.String[] |
SMTPProtocol.ehlo(java.net.InetAddress domain)
Sends the EHLO command to the server.
|
Address[] |
SMTPProtocol.expand(Address mailinglist)
Expands a given mailinglist address to all members of that list.
|
void |
SMTPProtocol.helo(java.net.InetAddress domain)
Sends the HELO command to the SMTP server.
|
void |
SMTPProtocol.mail(Address from)
Sends a MAIL command which specifies the sender's email address and
starts a new mail.
|
void |
SMTPProtocol.noop()
Sends a NOOP command to the server.
|
java.lang.String |
SMTPProtocol.openPort()
Opens the connection to the SMTP server.
|
void |
SMTPProtocol.quit()
Sends the QUIT command and closes the socket.
|
void |
SMTPProtocol.rcpt(Address address)
Sends a RCPT TO: command which specifies a recipient of the mail started
by the MAIL command.
|
void |
SMTPProtocol.rcpt(int type,
Address address)
Sends a RCPT command which specifies a recipient of the mail started by
the MAIL command.
|
SMTPResponse |
SMTPInputStream.readSingleLineResponse()
Reads a response from the socket inputstream.
|
protected SMTPResponse |
SMTPProtocol.readSingleLineResponse() |
void |
SMTPProtocol.reset()
Sends a RSET command which resets the current session.
|
void |
SMTPProtocol.startTLS()
Switches to a SSL connection using the TLS extension.
|
void |
SMTPProtocol.verify(java.lang.String address)
Sends a VRFY command which verifies the given email address.
|
Copyright © 2021. All Rights Reserved.