public class EmailProcessor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
allowedExtensions |
protected String |
dirToSaveAttachment |
protected String |
domain |
protected String |
email |
protected int |
emailCountToFetch |
protected String |
graphClientId |
protected String |
graphTenantId |
protected long |
lastAccessErrorEmailSendingTime |
protected static org.slf4j.Logger |
logger |
static String |
MAIL_SENDER_SEPARATOR |
protected String |
password |
protected int |
processType |
protected String |
purposeOfUse |
static long |
REPEAT_EMAIL_GAP_FOR_ACCESS_ERROR |
protected String |
url |
protected String |
username |
| Constructor and Description |
|---|
EmailProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected EmailCustomDTO |
getEmailDtoCustom(Object messageID,
String subject,
String fromAddress,
String body,
long emailReceivedTime,
String attachmentName,
String filePath) |
MailReadResponse |
getUnreadTopCountMails() |
MailSendResponse |
sendMail(systemalert.SystemAlertHistoryDTO systemAlertHistoryDTO) |
void |
setDirToSaveAttachment(String filePath) |
void |
updateReadStatus(Object messageID) |
protected static org.slf4j.Logger logger
public static long REPEAT_EMAIL_GAP_FOR_ACCESS_ERROR
public static final String MAIL_SENDER_SEPARATOR
protected String dirToSaveAttachment
protected long lastAccessErrorEmailSendingTime
protected int emailCountToFetch
protected String purposeOfUse
protected int processType
protected String url
protected String username
protected String password
protected String domain
protected String email
protected String graphTenantId
protected String graphClientId
public void setDirToSaveAttachment(String filePath)
public MailReadResponse getUnreadTopCountMails()
public void updateReadStatus(Object messageID)
public MailSendResponse sendMail(systemalert.SystemAlertHistoryDTO systemAlertHistoryDTO)
Copyright © 2026. All rights reserved.