-
public final class SendEmailOptionsOptions for sending an email message from an inbox. You must provide one of:
to,toGroup, ortoContactsto send an email. All other parameters are optional.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumSendEmailOptions.SendStrategyOptional strategy to use when sending the email Values: sINGLEMESSAGE
-
Field Summary
Fields Modifier and Type Field Description private final List<String>attachmentsprivate final List<String>bccprivate final Stringbodyprivate final List<String>ccprivate final Stringcharsetprivate final Stringfromprivate final Booleanhtmlprivate final BooleanisHTMLprivate final StringreplyToprivate final SendEmailOptions.SendStrategysendStrategyprivate final Stringsubjectprivate final UUIDtemplateprivate final ObjecttemplateVariablesprivate final List<String>toprivate final List<UUID>toContactsprivate final UUIDtoGroupprivate final BooleanuseInboxName
-
Constructor Summary
Constructors Constructor Description SendEmailOptions(List<String> attachments, List<String> bcc, String body, List<String> cc, String charset, String from, Boolean html, Boolean isHTML, String replyTo, SendEmailOptions.SendStrategy sendStrategy, String subject, UUID template, Object templateVariables, List<String> to, List<UUID> toContacts, UUID toGroup, Boolean useInboxName)
-
Method Summary
Modifier and Type Method Description final List<String>getAttachments()final List<String>getBcc()final StringgetBody()final List<String>getCc()final StringgetCharset()final StringgetFrom()final BooleangetHtml()final BooleangetIsHTML()final StringgetReplyTo()final SendEmailOptions.SendStrategygetSendStrategy()final StringgetSubject()final UUIDgetTemplate()final ObjectgetTemplateVariables()final List<String>getTo()final List<UUID>getToContacts()final UUIDgetToGroup()final BooleangetUseInboxName()-
-
Constructor Detail
-
SendEmailOptions
SendEmailOptions(List<String> attachments, List<String> bcc, String body, List<String> cc, String charset, String from, Boolean html, Boolean isHTML, String replyTo, SendEmailOptions.SendStrategy sendStrategy, String subject, UUID template, Object templateVariables, List<String> to, List<UUID> toContacts, UUID toGroup, Boolean useInboxName)
- Parameters:
attachments- Optional list of attachment IDs to send with this email.bcc- Optional list of bcc destination email addressesbody- Optional contents of email.cc- Optional list of cc destination email addressescharset- Optional charsetfrom- Optional from address.html- Optional HTML flag (Deprecated: use isHTML instead)isHTML- Optional HTML flag.replyTo- Optional replyTo headersendStrategy- Optional strategy to use when sending the emailsubject- Optional email subject linetemplate- Optional template ID to use for body.templateVariables- Optional map of template variables.to- List of destination email addresses.toContacts- Optional list of contact IDs to send email to.toGroup- Optional contact group ID to send email to.useInboxName- Use name of inbox as sender email address name.
-
-
Method Detail
-
getAttachments
final List<String> getAttachments()
-
getCharset
final String getCharset()
-
getReplyTo
final String getReplyTo()
-
getSendStrategy
final SendEmailOptions.SendStrategy getSendStrategy()
-
getSubject
final String getSubject()
-
getTemplate
final UUID getTemplate()
-
getTemplateVariables
final Object getTemplateVariables()
-
getToContacts
final List<UUID> getToContacts()
-
getToGroup
final UUID getToGroup()
-
getUseInboxName
final Boolean getUseInboxName()
-
-
-
-