public class MicrosoftGraphProcessor extends EmailProcessor
allowedExtensions, dirToSaveAttachment, domain, email, emailCountToFetch, graphClientId, graphTenantId, lastAccessErrorEmailSendingTime, logger, MAIL_SENDER_SEPARATOR, password, processType, purposeOfUse, REPEAT_EMAIL_GAP_FOR_ACCESS_ERROR, url, username| Constructor and Description |
|---|
MicrosoftGraphProcessor(String tenantId,
String clientId,
String clientSecret,
String userID,
int emailCountToFetch,
String filePath,
List<String> allowedExtensions,
String purposeOfUse) |
| Modifier and Type | Method and Description |
|---|---|
MailReadResponse |
getUnreadTopCountMails() |
static void |
main(String[] args) |
MailSendResponse |
sendMail(systemalert.SystemAlertHistoryDTO alertHistoryDTO) |
void |
updateReadStatus(Object messageID) |
getEmailDtoCustom, setDirToSaveAttachmentpublic MailReadResponse getUnreadTopCountMails()
getUnreadTopCountMails in class EmailProcessorpublic void updateReadStatus(Object messageID)
updateReadStatus in class EmailProcessorpublic MailSendResponse sendMail(systemalert.SystemAlertHistoryDTO alertHistoryDTO)
sendMail in class EmailProcessorpublic static void main(String[] args)
Copyright © 2025. All rights reserved.