Package org.dromara.email.comm.entity
Class MailMessage
- java.lang.Object
-
- org.dromara.email.comm.entity.MailMessage
-
public class MailMessage extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMailMessage.MailsBuilder
-
Field Summary
Fields Modifier and Type Field Description private List<String>bcc密送人private Stringbody文字正文private List<String>cc抄送人private Map<String,String>files附件private StringhtmlContenthtml内容,可以存在模板变量private FilehtmlFilehtml 模板文件的File对象private InputStreamhtmlInputStreamhtml模板文件的输入流,可来自任意可读取位置private StringhtmlPathhtml模板文件路径(resources目录下的路径)private Map<String,String>htmlValueshtml 模板参数private List<String>mailAddress收件人地址private Stringtitle邮件主题private StringzipName压缩文件名称
-
Constructor Summary
Constructors Constructor Description MailMessage()
-
-
-
Field Detail
-
title
private String title
邮件主题
-
body
private String body
文字正文
-
htmlPath
private String htmlPath
html模板文件路径(resources目录下的路径)
-
htmlInputStream
private InputStream htmlInputStream
html模板文件的输入流,可来自任意可读取位置
-
htmlContent
private String htmlContent
html内容,可以存在模板变量
-
htmlFile
private File htmlFile
html 模板文件的File对象
-
zipName
private String zipName
压缩文件名称
-
-
Method Detail
-
Builder
public static MailMessage.MailsBuilder Builder()
-
-