提交 | 用户 | age
|
7caeae
|
1 |
package com.yc.crm.mail.service; |
X |
2 |
|
|
3 |
import com.yc.crm.mail.entity.FoundationEntity; |
|
4 |
import com.yc.crm.mail.entity.T482102Entity; |
|
5 |
import com.yc.crm.mail.entity.t482101HEntity; |
|
6 |
|
18553a
|
7 |
import javax.mail.Message; |
7caeae
|
8 |
import javax.mail.MessagingException; |
X |
9 |
import javax.servlet.http.HttpServletRequest; |
|
10 |
import java.io.IOException; |
|
11 |
|
|
12 |
/** |
|
13 |
* @BelongsProject: eCoWorksV3 |
|
14 |
* @BelongsPackage: com.yc.crm.mail.service |
|
15 |
* @author: xinyb |
|
16 |
* @CreateTime: 2024-09-12 10:30 |
|
17 |
* @Description: |
|
18 |
*/ |
|
19 |
public interface MailServiceIfc { |
|
20 |
/** |
|
21 |
* 收邮件 |
|
22 |
* |
|
23 |
* @param emailEntity |
|
24 |
* @return |
|
25 |
*/ |
|
26 |
abstract void receivingEmails(T482102Entity emailEntity, FoundationEntity foundation) throws MessagingException; |
|
27 |
|
|
28 |
/** |
|
29 |
* 发邮件 |
|
30 |
* |
|
31 |
* @param t482101H 邮件信息 |
|
32 |
* @param request |
|
33 |
* @throws MessagingException |
|
34 |
* @throws IOException |
|
35 |
*/ |
|
36 |
abstract void sendEmails(t482101HEntity t482101H, HttpServletRequest request) throws Exception; |
57c8bf
|
37 |
|
X |
38 |
/** |
|
39 |
* 快速回复 |
|
40 |
* @param docCode |
|
41 |
* @param content |
|
42 |
* @return |
|
43 |
*/ |
|
44 |
Integer setQuickReply(String docCode,String content) throws MessagingException; |
195685
|
45 |
|
18553a
|
46 |
/** |
F |
47 |
* 保存邮件内容 |
|
48 |
* @param messages |
|
49 |
* @param email |
|
50 |
* @param foundation |
|
51 |
*/ |
3b74e3
|
52 |
public void setMailContent(Message[] messages, T482102Entity email, FoundationEntity foundation,boolean hasPush)throws |
18553a
|
53 |
Exception; |
7caeae
|
54 |
} |