Package | Description |
---|---|
org.codemonkey.simplejavamail.email |
Modifier and Type | Method and Description |
---|---|
Email.Builder |
Email.Builder.addHeader(String name,
Object value)
Adds a header to the
headers list. |
Email.Builder |
Email.Builder.bcc(Recipient recipient)
Adds a new
Recipient to the list on account of name, address with recipient type Message.RecipientType.BCC . |
Email.Builder |
Email.Builder.bcc(String name,
String address)
Adds a new
Recipient to the list on account of name, address with recipient type Message.RecipientType.BCC . |
Email.Builder |
Email.Builder.cc(Recipient recipient)
Adds a new
Recipient to the list on account of name, address with recipient type Message.RecipientType.CC . |
Email.Builder |
Email.Builder.cc(String name,
String address)
Adds a new
Recipient to the list on account of name, address with recipient type Message.RecipientType.CC . |
Email.Builder |
Email.Builder.embedImage(String name,
byte[] data,
String mimetype)
Adds an embedded image (attachment type) to the email message and generates the necessary
DataSource with the given byte
data. |
Email.Builder |
Email.Builder.embedImage(String name,
DataSource imagedata)
Overloaded method which sets an embedded image on account of name and
DataSource . |
Email.Builder |
Email.Builder.from(String name,
String fromAddress)
Sets the sender address.
|
Email.Builder |
Email.Builder.replyTo(String name,
String replyToAddress)
Sets the reply-to address (optional).
|
Email.Builder |
Email.Builder.subject(String subject)
Sets the
subject . |
Email.Builder |
Email.Builder.text(String text)
Sets the
text . |
Email.Builder |
Email.Builder.textHTML(String textHTML)
Sets the
textHTML . |
Email.Builder |
Email.Builder.to(Recipient recipient)
Adds a new
Recipient to the list on account of name, address with recipient type Message.RecipientType.TO . |
Email.Builder |
Email.Builder.to(String name,
String address)
Adds a new
Recipient to the list on account of name, address with recipient type Message.RecipientType.TO . |
Copyright © 2016. All rights reserved.