邮件配置
This commit is contained in:
parent
ff7cfd63f4
commit
10c7da377e
|
@ -0,0 +1,68 @@
|
||||||
|
package net.maku.email.config;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 邮箱配置项
|
||||||
|
*
|
||||||
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class EmailConfig {
|
||||||
|
/**
|
||||||
|
* 平台ID
|
||||||
|
*/
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台类型
|
||||||
|
*/
|
||||||
|
private Integer platform;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分组名称,发送邮件时,可指定分组
|
||||||
|
*/
|
||||||
|
private String groupName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SMTP服务器
|
||||||
|
*/
|
||||||
|
private String mailHost;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SMTP端口
|
||||||
|
*/
|
||||||
|
private Integer mailPort;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发件人邮箱
|
||||||
|
*/
|
||||||
|
private String mailFrom;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发件人密码
|
||||||
|
*/
|
||||||
|
private String mailPass;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* regionId
|
||||||
|
*/
|
||||||
|
private String regionId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 阿里云 endpoint
|
||||||
|
*/
|
||||||
|
private String endpoint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* AccessKey
|
||||||
|
*/
|
||||||
|
private String accessKey;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SecretKey
|
||||||
|
*/
|
||||||
|
private String secretKey;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user