public interface Mail
| Modifier and Type | Interface and Description |
|---|---|
static class |
Mail.RecipientType |
void setEncoding(String encoding)
String getEncoding()
Mail addReceiver(String email, Mail.RecipientType type)
Mail addReceiver(String email, String name, Mail.RecipientType type)
Mail addAttachment(InputStream is, String name, String mimeType) throws MailException
MailExceptionMail addAttachment(File file, String mimeType) throws MailException
MailExceptionMail addAttachment(File file, String name, String mimeType) throws MailException
MailExceptionboolean hasAttachments()
List<Attachment> getAttachments()
String getFrom()
Address getFromAddress()
String getSubject()
String getHtmlContent()
String getTextContent()
boolean hasReceivers()
Copyright © 2011–2021 aiticon GmbH. All rights reserved.