mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-23 02:48:34 +08:00
update 优化 移除不合理的方法 携带附件的邮件建议直接集成插件发送
This commit is contained in:
@@ -2,9 +2,6 @@ package org.dromara.resource.api;
|
||||
|
||||
import org.dromara.common.core.exception.ServiceException;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 邮件服务
|
||||
*
|
||||
@@ -21,14 +18,4 @@ public interface RemoteMailService {
|
||||
*/
|
||||
void send(String to, String subject, String text) throws ServiceException;
|
||||
|
||||
/**
|
||||
* 发送邮件带附件
|
||||
*
|
||||
* @param to 接收人
|
||||
* @param subject 标题
|
||||
* @param text 内容
|
||||
* @param fileList 附件
|
||||
*/
|
||||
void sendWithAttachment(String to, String subject, String text, List<File> fileList) throws ServiceException;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user