Package | Description |
---|---|
org.appng.mail |
Provides an easy-to-use API for sending e-mails
|
org.appng.mail.impl |
Modifier and Type | Method and Description |
---|---|
Mail |
Mail.addAttachment(File file,
String mimeType) |
Mail |
Mail.addAttachment(File file,
String name,
String mimeType) |
Mail |
Mail.addAttachment(InputStream is,
String name,
String mimeType) |
Mail |
Mail.addReceiver(Receiver receiver) |
Mail |
Mail.addReceiver(String email,
Mail.RecipientType type) |
Mail |
Mail.addReceiver(String email,
String name,
Mail.RecipientType type) |
Mail |
Mail.addReplyTo(String email) |
Mail |
Mail.addReplyTo(String email,
String name) |
Mail |
MailTransport.createMail()
Creates and returns a new
Mail . |
Mail |
Mail.setFrom(String from) |
Mail |
Mail.setFrom(String from,
String name) |
Mail |
Mail.setHTMLContent(String content) |
Mail |
Mail.setSubject(String subject) |
Mail |
Mail.setTextContent(String content) |
Modifier and Type | Method and Description |
---|---|
String |
MailTransport.getMailAsString(Mail mail)
|
void |
MailTransport.send(Mail mail)
Send the given
Mail . |
Modifier and Type | Class and Description |
---|---|
class |
MailImpl |
Modifier and Type | Method and Description |
---|---|
Mail |
MailImpl.addAttachment(File file,
String mimeType) |
Mail |
MailImpl.addAttachment(File file,
String name,
String mimeType) |
Mail |
MailImpl.addAttachment(InputStream is,
String name,
String mimeType) |
Mail |
MailImpl.addReceiver(Receiver receiver) |
Mail |
MailImpl.addReceiver(String email,
Mail.RecipientType type) |
Mail |
MailImpl.addReceiver(String email,
String name,
Mail.RecipientType type) |
Mail |
MailImpl.addReplyTo(String email) |
Mail |
MailImpl.addReplyTo(String email,
String name) |
Mail |
DefaultTransport.createMail() |
Mail |
MailImpl.setFrom(Address from) |
Mail |
MailImpl.setFrom(String from) |
Mail |
MailImpl.setFrom(String from,
String name) |
Mail |
MailImpl.setHTMLContent(String content) |
Mail |
MailImpl.setSubject(String subject) |
Mail |
MailImpl.setTextContent(String content) |
Modifier and Type | Method and Description |
---|---|
protected javax.mail.Message |
DefaultTransport.buildMessage(Mail mail) |
protected javax.mail.Message |
DefaultTransport.buildMessage(javax.mail.Message mimeMessage,
Mail mail) |
String |
DefaultTransport.getMailAsString(Mail mail) |
void |
DefaultTransport.send(Mail mail) |
protected void |
DefaultTransport.send(Mail mail,
Collection<String> invalidAdresses) |
Copyright © 2011–2020 aiticon GmbH. All rights reserved.