forest/src/main/java/com/rymcu/vertical/service/JavaMailService.java
2019-11-24 15:50:02 +08:00

25 lines
591 B
Java
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.rymcu.vertical.service;
import javax.mail.MessagingException;
/**
* @author ronger
* @since 2019/11/23
* @version 1.0
* **/
public interface JavaMailService {
/**
* 发送验证码邮件
* @param email 收件人邮箱
* @return 执行结果 0失败1成功
* */
Integer sendEmailCode(String email) throws MessagingException;
/**
* 发送找回密码邮件
* @param email 收件人邮箱
* @return 执行结果 0失败1成功
* */
Integer sendForgetPasswordEmail(String email) throws MessagingException;
}