Package org.appng.mail
Interface Mail
-
- All Known Implementing Classes:
MailImpl
public interface Mail
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Mail.RecipientType
-
Method Summary
-
-
-
Method Detail
-
setEncoding
void setEncoding(String encoding)
-
getEncoding
String getEncoding()
-
addReceiver
Mail addReceiver(String email, Mail.RecipientType type)
-
addReceiver
Mail addReceiver(String email, String name, Mail.RecipientType type)
-
addAttachment
Mail addAttachment(InputStream is, String name, String mimeType) throws MailException
- Throws:
MailException
-
addAttachment
Mail addAttachment(File file, String mimeType) throws MailException
- Throws:
MailException
-
addAttachment
Mail addAttachment(File file, String name, String mimeType) throws MailException
- Throws:
MailException
-
hasAttachments
boolean hasAttachments()
-
getAttachments
List<Attachment> getAttachments()
-
getFrom
String getFrom()
-
getFromAddress
Address getFromAddress()
-
getSubject
String getSubject()
-
getHtmlContent
String getHtmlContent()
-
getTextContent
String getTextContent()
-
hasReceivers
boolean hasReceivers()
-
-