xuekang
2024-05-10 edf3b7fde038fcf3e6d86b8b4b88c2ff6f9014cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.dromara.resource.api;
 
import org.dromara.common.core.exception.ServiceException;
 
/**
 * 邮件服务
 *
 * @author Lion Li
 */
public interface RemoteMailService {
 
    /**
     * 发送邮件
     *
     * @param to      接收人
     * @param subject 标题
     * @param text    内容
     */
    void send(String to, String subject, String text) throws ServiceException;
 
}