| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final int | |
| private static final String | |
| public static final int | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static byte[] | |
| private static String | |
| private static void | |
| public static void | |
| public static void | sendMail(InetAddress smtpHost, int smtpPort, String mailFrom, String[] rcptTo, Properties headers, byte[] bodyBytes)
|
| CHARSET | back to summary |
|---|---|
| private static final String CHARSET | |
| CHARSET_LEN | back to summary |
|---|---|
| private static final int CHARSET_LEN | |
| CRLF | back to summary |
|---|---|
| private static final String CRLF | |
| DEFAULT_SMTP_PORT | back to summary |
|---|---|
| public static final int DEFAULT_SMTP_PORT | |
| ENC | back to summary |
|---|---|
| private static final String ENC | |
| SmtpUtils | back to summary |
|---|---|
| private SmtpUtils() | |
| bytesFromBodyString | back to summary |
|---|---|
| private static byte[] bytesFromBodyString(String body, String enc) throws UnsupportedEncodingException | |
| encodingFromContentType | back to summary |
|---|---|
| private static String encodingFromContentType(String contentType) | |
| ensureResponse | back to summary |
|---|---|
| private static void ensureResponse(BufferedReader br, int begin_inclusive, int end_exclusive) throws IOException, SmtpException | |
| main | back to summary |
|---|---|
| public static void main(String[] argv) | |
| sendMail | back to summary |
|---|---|
| public static void sendMail(InetAddress smtpHost, int smtpPort, String mailFrom, String[] rcptTo, Properties headers, byte[] bodyBytes) throws IOException, SmtpException | |