public class SMTPClient extends Object
Modifier and Type | Field | Description |
---|---|---|
static long |
BINARY_MAX_SIZE |
About 23.25 MB.
|
static long |
DEFAULT_MAX_SIZE |
31.84 MB
smtp.postman.i2p as of 2017-12.
|
String |
error |
Constructor | Description |
---|---|
SMTPClient() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
sendMail(String host,
int port,
String user,
String pass,
String sender,
String[] recipients,
StringBuilder body,
List<Attachment> attachments,
String boundary) |
public static final long DEFAULT_MAX_SIZE
public static final long BINARY_MAX_SIZE
public String error
public boolean sendMail(String host, int port, String user, String pass, String sender, String[] recipients, StringBuilder body, List<Attachment> attachments, String boundary)
body
- without the attachmentsattachments
- may be nullboundary
- non-null if attachments is non-null