Package | Description |
---|---|
org.simplejavamail.email |
Modifier and Type | Method and Description |
---|---|
EmailBuilder |
EmailBuilder.addAttachment(String name,
byte[] data,
String mimetype)
Adds an attachment to the email message and generates the necessary
DataSource with the given byte data. |
EmailBuilder |
EmailBuilder.addAttachment(String name,
DataSource filedata)
Overloaded method which sets an attachment on account of name and
DataSource . |
EmailBuilder |
EmailBuilder.addHeader(String name,
Object value)
Adds a header to the
headers list. |
EmailBuilder |
EmailBuilder.bcc(Recipient... recipientsToAdd)
Adds new
Recipient instances to the list on account of name, address with recipient type Message.RecipientType#BCC . |
EmailBuilder |
EmailBuilder.bcc(String... emailAddresses)
Adds new
Recipient instances to the list on account of empty name, address with recipient type Message.RecipientType#BCC . |
EmailBuilder |
EmailBuilder.bcc(String emailAddressList)
Adds anew
Recipient instances to the list on account of empty name, address with recipient type Message.RecipientType#BCC . |
EmailBuilder |
EmailBuilder.bcc(String name,
String address)
Adds a new
Recipient to the list on account of name, address with recipient type Message.RecipientType#BCC . |
EmailBuilder |
EmailBuilder.cc(Recipient... recipientsToAdd)
Adds new
Recipient instances to the list on account of name, address with recipient type Message.RecipientType#CC . |
EmailBuilder |
EmailBuilder.cc(String... emailAddresses)
Adds new
Recipient instances to the list on account of empty name, address with recipient type Message.RecipientType#CC . |
EmailBuilder |
EmailBuilder.cc(String emailAddressList)
Adds anew
Recipient instances to the list on account of empty name, address with recipient type Message.RecipientType#CC . |
EmailBuilder |
EmailBuilder.cc(String name,
String address)
Adds a new
Recipient to the list on account of name, address with recipient type Message.RecipientType#CC . |
EmailBuilder |
EmailBuilder.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. |
EmailBuilder |
EmailBuilder.embedImage(String name,
DataSource imagedata)
Overloaded method which sets an embedded image on account of name and
DataSource . |
EmailBuilder |
EmailBuilder.from(Recipient recipient)
Sets the sender address
fromRecipient with preconfigured Recipient . |
EmailBuilder |
EmailBuilder.from(String name,
String fromAddress)
Sets the sender address
fromRecipient . |
EmailBuilder |
EmailBuilder.replyTo(Recipient recipient)
Sets
replyToRecipient (optional) with preconfigured Recipient . |
EmailBuilder |
EmailBuilder.replyTo(String name,
String replyToAddress)
Sets
replyToRecipient (optional). |
EmailBuilder |
EmailBuilder.signWithDomainKey(byte[] dkimPrivateKey,
String signingDomain,
String selector)
Sets all info needed for DKIM, using a byte array for private key data.
|
EmailBuilder |
EmailBuilder.signWithDomainKey(File dkimPrivateKeyFile,
String signingDomain,
String selector)
Sets all info needed for DKIM, using a file reference for private key data.
|
EmailBuilder |
EmailBuilder.signWithDomainKey(InputStream dkimPrivateKeyInputStream,
String signingDomain,
String selector)
Sets all info needed for DKIM, using an input stream for private key data.
|
EmailBuilder |
EmailBuilder.signWithDomainKey(String dkimPrivateKey,
String signingDomain,
String selector)
Sets all info needed for DKIM, using a byte array for private key data.
|
EmailBuilder |
EmailBuilder.subject(String subject)
Sets the
subject . |
EmailBuilder |
EmailBuilder.text(String text)
Sets the
text . |
EmailBuilder |
EmailBuilder.textHTML(String textHTML)
Sets the
textHTML . |
EmailBuilder |
EmailBuilder.to(Recipient... recipientsToAdd)
Adds new
Recipient instances to the list on account of name, address with recipient type Message.RecipientType#TO . |
EmailBuilder |
EmailBuilder.to(String... emailAddresses)
Adds new
Recipient instances to the list on account of empty name, address with recipient type Message.RecipientType#TO . |
EmailBuilder |
EmailBuilder.to(String emailAddressList)
Adds anew
Recipient instances to the list on account of empty name, address with recipient type Message.RecipientType#TO . |
EmailBuilder |
EmailBuilder.to(String name,
String address)
Adds a new
Recipient to the list on account of name, address with recipient type Message.RecipientType#TO . |
Copyright © 2017. All rights reserved.