| Package | Description |
|---|---|
| org.subethamail.smtp.client |
| Modifier and Type | Method and Description |
|---|---|
void |
Authenticator.authenticate() |
void |
PlainAuthenticator.authenticate() |
void |
SmartClient.connect(String host,
int port)
Connects to the specified server and issues the initial HELO command.
|
static SmartClient |
SmartClient.createAndConnect(String host,
int port,
Optional<SocketAddress> bindpoint,
String clientHeloHost,
Optional<Authenticator> authenticator) |
static SmartClient |
SmartClient.createAndConnect(String host,
int port,
String clientHeloHost) |
void |
SmartClient.dataEnd()
Last step after writing data
|
void |
SmartClient.dataStart()
Prelude to writing data
|
void |
SmartClient.from(String from) |
SMTPClient.Response |
SMTPClient.receiveAndCheck()
If response is not success, throw an exception
|
SMTPClient.Response |
SMTPClient.sendAndCheck(String msg)
If response is not success, throw an exception
|
void |
SmartClient.sendAndCheck(String msg) |
protected void |
SmartClient.sendHeloOrEhlo()
Sends the EHLO command, or HELO if EHLO is not supported, and saves the
list of SMTP extensions which are supported by the server.
|
void |
SmartClient.to(String to) |
Copyright © 2006–2024. All rights reserved.