XiaoLFeng 6d136f8423
Some checks failed
JslOrganizeInternalOAPip/pipeline/pr-master Build started...
JslOrganizeInternalOAPip/pipeline/head There was a failure building this commit
JslDeveloper/JSL_OrganizeInternalOA/pipeline/head There was a failure building this commit
代码补丁
2024-01-25 22:26:46 +08:00

45 lines
981 B
Java
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.jsl.oa.services;
/**
* <h1>邮件服务接口</h1>
* <hr/>
* 用于发送邮件
*
* @author 筱锋xiao_lfeng
* @version v1.1.0
* @since v1.1.0
*/
public interface MailService {
/**
* <h2>发送邮件通用模板</h2>
* <hr/>
* 更为广泛的内容发送,用于发送普通文本邮件
*
* @param sendTo 收件人
* @param subject 主题
* @param text 内容
*/
void sendMail(String sendTo, String subject, String text);
/**
* <h2>发送邮件通用模板</h2>
* <hr/>
* 发送邮件通用模板用于发送具有模板HTML邮件
*
* @param sendTo 收件人
* @param model 模板
*/
void sendMail(String sendTo, String model);
/**
* <h2>邮件登陆模块</h2>
* <hr/>
* 用于发送用户登陆邮件
*
* @param email 邮箱
* @param code 验证码
*/
void sendMailAboutUserLogin(String email, Integer code);
}