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
MailException
Mail addAttachment(File file, String mimeType) throws MailException
MailException
Mail addAttachment(File file, String name, String mimeType) throws MailException
MailException
boolean hasAttachments()
List<Attachment> getAttachments()
String getFrom()
Address getFromAddress()
String getSubject()
String getHtmlContent()
String getTextContent()
boolean hasReceivers()
Copyright © 2011–2019 aiticon GmbH. All rights reserved.