public class EmailInfo extends Object
Modifier and Type | Field and Description |
---|---|
private List<EmailAttachmentInfo> |
attachments |
private String |
body |
private String |
contentType |
private String |
recipientEmail |
private String |
subject |
Constructor and Description |
---|
EmailInfo() |
@NotNull @Pattern(regexp="[a-zA-Z0-9\\+\\.\\_\\%\\-\\+]{1,256}\\@[a-zA-Z0-9][a-zA-Z0-9\\-]{0,64}(\\.[a-zA-Z0-9][a-zA-Z0-9\\-]{0,25})+") @Size(max=56) private String recipientEmail
@Pattern(regexp="^[\\w\\/]+;\\s+charset=[^\\s\";]+$") private String contentType
@NotNull private String subject
@NotNull @Size(max=5000) private String body
@NotNull private List<EmailAttachmentInfo> attachments
Copyright © 2016. All rights reserved.