All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dromara.email.comm.config.MailSmtpConfig Maven / Gradle / Ivy

The newest version!
package org.dromara.email.comm.config;

import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;

/**
 * MailSmtpConfig
 * 

smtp协议配置文件 * @author :Wind * 2023/6/7 21:19 **/ @Builder @ToString @Getter @EqualsAndHashCode public class MailSmtpConfig { /** * 端口号 * */ private String port; /** * 发件人地址 * */ private String fromAddress; /** * 发送人昵称 * */ private String nickName; /** * 服务器地址 * */ private String smtpServer; /** * 账号 * */ private String username; /** * 密码 * */ private String password; /** * 是否开启ssl 默认开启 * */ @Builder.Default private final String isSSL = "true"; /** * 是否开启验证 默认开启 * */ @Builder.Default private final String isAuth = "true"; /** * 重试间隔(单位:秒),默认为5秒 */ @Builder.Default private final int retryInterval = 5; /** * 重试次数,默认为1次 */ @Builder.Default private final int maxRetries = 1; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy