com.obatis.email.SendMailService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obatis-web Show documentation
Show all versions of obatis-web Show documentation
obatis-web, apply web project
package com.obatis.email;
import com.obatis.email.exception.SendMailException;
import java.util.Map;
public interface SendMailService {
/**
* 发送 html 格式的邮件
* @param toEmail
* @param title
* @param content
* @throws SendMailException
*/
void send(String toEmail, String title, String content) throws SendMailException;
/**
* 发送 thymeleaf模板邮件
* @param toEmail
* @param title
* @param templatePath
* @param params
* @throws SendMailException
*/
void sendTemplate(String toEmail, String title, String templatePath, Map params) throws SendMailException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy