Additional top-level class in compilation unit: SmtpPrintStream.
| Modifier and Type | Field and Description |
|---|---|
| private static int | |
| pack-priv String | |
| pack-priv SmtpPrintStream |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | closeServer()
Overrides sun. issue the QUIT command to the SMTP server and close the connection. |
| public void | |
| pack-priv String | |
| public String | |
| pack-priv void | |
| private void | |
| public PrintStream | |
| public void | |
| private void |
| DEFAULT_SMTP_PORT | back to summary |
|---|---|
| private static int DEFAULT_SMTP_PORT | |
| mailhost | back to summary |
|---|---|
| pack-priv String mailhost | |
| message | back to summary |
|---|---|
| pack-priv SmtpPrintStream message | |
| SmtpClient | back to summary |
|---|---|
| public SmtpClient(String host) throws IOException New SMTP client connected to host host. | |
| SmtpClient | back to summary |
|---|---|
| public SmtpClient() throws IOException Create an uninitialized SMTP client. | |
| SmtpClient | back to summary |
|---|---|
| public SmtpClient(int to) throws IOException | |
| closeMessage | back to summary |
|---|---|
| pack-priv void closeMessage() throws IOException | |
| closeServer | back to summary |
|---|---|
| public void closeServer() throws IOException Overrides sun. issue the QUIT command to the SMTP server and close the connection. | |
| from | back to summary |
|---|---|
| public void from(String s) throws IOException | |
| getEncoding | back to summary |
|---|---|
| pack-priv String getEncoding() | |
| getMailHost | back to summary |
|---|---|
| public String getMailHost() | |
| issueCommand | back to summary |
|---|---|
| pack-priv void issueCommand(String cmd, int expect) throws IOException | |
| openServer | back to summary |
|---|---|
| private void openServer(String host) throws IOException open a SMTP connection to host host. | |
| startMessage | back to summary |
|---|---|
| public PrintStream startMessage() throws IOException | |
| to | back to summary |
|---|---|
| public void to(String s) throws IOException | |
| toCanonical | back to summary |
|---|---|
| private void toCanonical(String s) throws IOException | |