All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dromara.email.jakarta.api.Monitor Maven / Gradle / Ivy

The newest version!
package org.dromara.email.jakarta.api;

import org.dromara.email.jakarta.comm.entity.MonitorMessage;

/**
 * Monitor
 * 

监听接口,实现此接口用于监听并获取邮件消息 * @author :Wind * 2023/7/18 15:57 **/ public interface Monitor { /** * monitor *

监听系统的邮件消息, * @param monitorMessage 系统监听到的消息内容 * @return true为标记已读,否则不标记 * @author :Wind */ boolean monitor(MonitorMessage monitorMessage); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy