public class EmailDto extends Object
Constructor and Description |
---|
EmailDto() |
EmailDto(List<AlternateView> alternateViews,
List<Attachment> attachments,
List<MailAddress> bcc,
String body,
String bodyEncoding,
String bodyType,
List<MailAddress> cc,
Date date,
List<String> deliveryNotificationOptions,
MailAddress from,
Map<String,String> headers,
String htmlBody,
String htmlBodyText,
Boolean isBodyHtml,
Boolean isDraft,
Boolean isEncrypted,
Boolean isSigned,
List<LinkedResource> linkedResources,
String messageId,
Boolean originalIsTnef,
String preferredTextEncoding,
String priority,
List<MailAddress> readReceiptTo,
List<MailAddress> replyToList,
MailAddress reversePath,
MailAddress sender,
String sensitivity,
String subject,
String subjectEncoding,
Long timeZoneOffset,
List<MailAddress> to,
String xMailer)
Initializes a new instance of the EmailDto
|
public EmailDto()
public EmailDto(List<AlternateView> alternateViews, List<Attachment> attachments, List<MailAddress> bcc, String body, String bodyEncoding, String bodyType, List<MailAddress> cc, Date date, List<String> deliveryNotificationOptions, MailAddress from, Map<String,String> headers, String htmlBody, String htmlBodyText, Boolean isBodyHtml, Boolean isDraft, Boolean isEncrypted, Boolean isSigned, List<LinkedResource> linkedResources, String messageId, Boolean originalIsTnef, String preferredTextEncoding, String priority, List<MailAddress> readReceiptTo, List<MailAddress> replyToList, MailAddress reversePath, MailAddress sender, String sensitivity, String subject, String subjectEncoding, Long timeZoneOffset, List<MailAddress> to, String xMailer)
alternateViews
- Collection of alternate views of message.attachments
- Email message attachments.bcc
- BCC recipients.body
- Email message body as plain text.bodyEncoding
- Body encoding.bodyType
- The content type of message body. Enum, available values: PlainText, Html, Rtfcc
- CC recipients.date
- Message date.deliveryNotificationOptions
- Delivery notifications. Items: Email delivery notification options. Enum, available values: Delay, Never, None, OnFailure, OnSuccessfrom
- From address.headers
- Document headers.htmlBody
- HTML body.htmlBodyText
- Html body as plain text. Read only.isBodyHtml
- Indicates whether the message body is in Html.isDraft
- Indicates whether or not a message has been sent.isEncrypted
- Indicates whether the message is encrypted. Read only.isSigned
- Indicates whether the message is signed. Read only.linkedResources
- Linked resources of message.messageId
- Message id.originalIsTnef
- Indicates whether original EML message is in TNEF format. Read only.preferredTextEncoding
- Preferred encoding.priority
- Email priority status. Enum, available values: High, Low, NormalreadReceiptTo
- Read receipt addresses.replyToList
- The list of addresses to reply to for the mail message.reversePath
- ReversePath address.sender
- Sender address.sensitivity
- Specifies the sensitivity of a MailMessage. Enum, available values: None, Normal, Personal, Private, CompanyConfidentialsubject
- Message subject.subjectEncoding
- Subject encoding.timeZoneOffset
- Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the local time and UTC represented as count of ticks (10 000 per millisecond).to
- The address collection that contains the recipients of message.xMailer
- The X-Mailer the software that created the e-mail message.public EmailDto alternateViews(List<AlternateView> alternateViews)
public EmailDto addAlternateViewsItem(AlternateView alternateViewsItem)
public List<AlternateView> getAlternateViews()
public void setAlternateViews(List<AlternateView> alternateViews)
public EmailDto attachments(List<Attachment> attachments)
public EmailDto addAttachmentsItem(Attachment attachmentsItem)
public List<Attachment> getAttachments()
public void setAttachments(List<Attachment> attachments)
public EmailDto bcc(List<MailAddress> bcc)
public EmailDto addBccItem(MailAddress bccItem)
public List<MailAddress> getBcc()
public void setBcc(List<MailAddress> bcc)
public String getBody()
public void setBody(String body)
public String getBodyEncoding()
public void setBodyEncoding(String bodyEncoding)
public String getBodyType()
public void setBodyType(String bodyType)
public EmailDto cc(List<MailAddress> cc)
public EmailDto addCcItem(MailAddress ccItem)
public List<MailAddress> getCc()
public void setCc(List<MailAddress> cc)
public Date getDate()
public void setDate(Date date)
public EmailDto deliveryNotificationOptions(List<String> deliveryNotificationOptions)
public EmailDto addDeliveryNotificationOptionsItem(String deliveryNotificationOptionsItem)
public List<String> getDeliveryNotificationOptions()
public void setDeliveryNotificationOptions(List<String> deliveryNotificationOptions)
public EmailDto from(MailAddress from)
public MailAddress getFrom()
public void setFrom(MailAddress from)
public String getHtmlBody()
public void setHtmlBody(String htmlBody)
public String getHtmlBodyText()
public void setHtmlBodyText(String htmlBodyText)
public Boolean isIsBodyHtml()
public void setIsBodyHtml(Boolean isBodyHtml)
public Boolean isIsDraft()
public void setIsDraft(Boolean isDraft)
public Boolean isIsEncrypted()
public void setIsEncrypted(Boolean isEncrypted)
public Boolean isIsSigned()
public void setIsSigned(Boolean isSigned)
public EmailDto linkedResources(List<LinkedResource> linkedResources)
public EmailDto addLinkedResourcesItem(LinkedResource linkedResourcesItem)
public List<LinkedResource> getLinkedResources()
public void setLinkedResources(List<LinkedResource> linkedResources)
public String getMessageId()
public void setMessageId(String messageId)
public Boolean isOriginalIsTnef()
public void setOriginalIsTnef(Boolean originalIsTnef)
public String getPreferredTextEncoding()
public void setPreferredTextEncoding(String preferredTextEncoding)
public String getPriority()
public void setPriority(String priority)
public EmailDto readReceiptTo(List<MailAddress> readReceiptTo)
public EmailDto addReadReceiptToItem(MailAddress readReceiptToItem)
public List<MailAddress> getReadReceiptTo()
public void setReadReceiptTo(List<MailAddress> readReceiptTo)
public EmailDto replyToList(List<MailAddress> replyToList)
public EmailDto addReplyToListItem(MailAddress replyToListItem)
public List<MailAddress> getReplyToList()
public void setReplyToList(List<MailAddress> replyToList)
public EmailDto reversePath(MailAddress reversePath)
public MailAddress getReversePath()
public void setReversePath(MailAddress reversePath)
public EmailDto sender(MailAddress sender)
public MailAddress getSender()
public void setSender(MailAddress sender)
public String getSensitivity()
public void setSensitivity(String sensitivity)
public String getSubject()
public void setSubject(String subject)
public String getSubjectEncoding()
public void setSubjectEncoding(String subjectEncoding)
public Long getTimeZoneOffset()
public void setTimeZoneOffset(Long timeZoneOffset)
public EmailDto to(List<MailAddress> to)
public EmailDto addToItem(MailAddress toItem)
public List<MailAddress> getTo()
public void setTo(List<MailAddress> to)
public String getXMailer()
public void setXMailer(String xMailer)
Copyright © 2020. All rights reserved.