Class EmailInfo
- java.lang.Object
-
- org.openbravo.erpCommon.utility.poc.EmailInfo
-
public class EmailInfo extends Object
This class contains all info required to generate an email to send. This includes data to generate the header (recipient, CC, BCC, replyTo, date and extra fields) and the body (subject, content, contentType and attachments) To create a new instance of this class useEmailInfo.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmailInfo.Builder
Builder class used to create and initialize a EmailInfo instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<File>
getAttachments()
String
getContent()
String
getContentType()
List<String>
getHeaderExtras()
String
getRecipientBCC()
String
getRecipientCC()
String
getRecipientTO()
String
getReplyTo()
Date
getSentDate()
String
getSubject()
-
-
-
Method Detail
-
getRecipientTO
public String getRecipientTO()
-
getRecipientCC
public String getRecipientCC()
-
getRecipientBCC
public String getRecipientBCC()
-
getReplyTo
public String getReplyTo()
-
getSubject
public String getSubject()
-
getContent
public String getContent()
-
getContentType
public String getContentType()
-
getSentDate
public Date getSentDate()
-
-