public class POP3SMTPProcessor extends EmailProcessor
| Modifier and Type | Field and Description |
|---|---|
static int |
MAIL_TYPE_AlERT |
static int |
MAIL_TYPE_AUTH |
static int |
MAIL_TYPE_INVOICE |
static int |
MAIL_TYPE_RATE |
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 |
|---|
POP3SMTPProcessor(int emailCountToFetch,
String filePath,
List<String> allowedExtensions,
String purposeOfUse,
String authMail,
String password) |
POP3SMTPProcessor(String purposeOfUse) |
| Modifier and Type | Method and Description |
|---|---|
javax.mail.internet.InternetAddress[] |
getInternetAddressList(String mailAddresses) |
MailReadResponse |
getUnreadTopCountMails() |
MailSendResponse |
sendMail(systemalert.SystemAlertHistoryDTO alertHistoryDTO) |
void |
updateReadStatus(Object messageID) |
getEmailDtoCustom, setDirToSaveAttachmentpublic static final int MAIL_TYPE_AlERT
public static final int MAIL_TYPE_RATE
public static final int MAIL_TYPE_INVOICE
public static final int MAIL_TYPE_AUTH
public POP3SMTPProcessor(String purposeOfUse)
public MailReadResponse getUnreadTopCountMails()
getUnreadTopCountMails in class EmailProcessorpublic void updateReadStatus(Object messageID)
updateReadStatus in class EmailProcessorpublic MailSendResponse sendMail(systemalert.SystemAlertHistoryDTO alertHistoryDTO)
sendMail in class EmailProcessorpublic javax.mail.internet.InternetAddress[] getInternetAddressList(String mailAddresses) throws javax.mail.internet.AddressException
javax.mail.internet.AddressExceptionCopyright © 2025. All rights reserved.