| Package | Description |
|---|---|
| org.mule.extension.email.internal.commands | |
| org.mule.extension.email.internal.mailbox.imap | |
| org.mule.extension.email.internal.mailbox.pop3 |
| Modifier and Type | Method and Description |
|---|---|
void |
ExpungeCommand.expunge(MailboxConnection connection,
String folderName)
Removes from the mailbox all deleted messages if the flag is set true.
|
List<org.mule.runtime.extension.api.runtime.operation.Result<Object,T>> |
PagingProviderEmailDelegate.getPage(MailboxConnection connection) |
Optional<Integer> |
PagingProviderEmailDelegate.getTotalResults(MailboxConnection connection) |
void |
SetFlagCommand.setByNumber(MailboxConnection connection,
String folderName,
javax.mail.Flags.Flag flag,
int number)
Sets the specified
flag to the email of mailbox number number |
void |
SetFlagCommand.setByUID(MailboxConnection connection,
String folderName,
javax.mail.Flags.Flag flag,
long emailId)
Sets the specified
flag into the email of UID (unique identifier) emailId. |
void |
StoreCommand.store(MailboxConnection connection,
String folderName,
String localDirectory,
String fileName,
long uid,
boolean overwrite)
Stores the specified email of uid
emailId into the configured localDirectory. |
| Modifier and Type | Method and Description |
|---|---|
MailboxConnection |
IMAPSProvider.connect() |
MailboxConnection |
IMAPProvider.connect() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.streaming.PagingProvider<MailboxConnection,org.mule.runtime.extension.api.runtime.operation.Result<Object,IMAPEmailAttributes>> |
IMAPOperations.listImap(IMAPConfiguration config,
MailboxConnection connection,
String mailboxFolder,
IMAPEmailPredicateBuilder imapMatcher,
boolean deleteAfterRetrieve,
EmailMetadataKey outputType,
int pageSize)
List all the emails (with pagination) in the configured imap mailBoxFolder that match with the specified
imapMatcher
criteria. |
| Modifier and Type | Method and Description |
|---|---|
void |
IMAPOperations.delete(MailboxConnection connection,
String mailboxFolder,
long emailId)
Eliminates from the mailbox the email with id
emailId. |
void |
IMAPOperations.expungeFolder(MailboxConnection connection,
String mailboxFolder)
Eliminates from the mailbox all the messages scheduled for deletion with the DELETED flag set.
|
org.mule.runtime.extension.api.runtime.streaming.PagingProvider<MailboxConnection,org.mule.runtime.extension.api.runtime.operation.Result<Object,IMAPEmailAttributes>> |
IMAPOperations.listImap(IMAPConfiguration config,
MailboxConnection connection,
String mailboxFolder,
IMAPEmailPredicateBuilder imapMatcher,
boolean deleteAfterRetrieve,
EmailMetadataKey outputType,
int pageSize)
List all the emails (with pagination) in the configured imap mailBoxFolder that match with the specified
imapMatcher
criteria. |
void |
IMAPOperations.markAsDeleted(MailboxConnection connection,
String mailboxFolder,
long emailId)
Marks an incoming email as DELETED, this way the marked email(s) are scheduled for deletion when the folder closes, this
means that the email is not physically eliminated from the mailbox folder, but it's state changes.
|
void |
IMAPOperations.markAsRead(MailboxConnection connection,
String mailboxFolder,
long emailId)
Marks a single email as READ changing it's state in the specified mailbox folder.
|
void |
IMAPOperations.store(MailboxConnection connection,
String localDirectory,
String mailboxFolder,
String fileName,
long emailId,
boolean overwrite)
Stores the specified email of id
emailId into the configured localDirectory. |
| Modifier and Type | Method and Description |
|---|---|
MailboxConnection |
POP3Provider.connect() |
MailboxConnection |
POP3SProvider.connect() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.streaming.PagingProvider<MailboxConnection,org.mule.runtime.extension.api.runtime.operation.Result<Object,POP3EmailAttributes>> |
POP3Operations.listPop3(POP3Configuration config,
MailboxConnection connection,
String mailboxFolder,
POP3EmailPredicateBuilder pop3Matcher,
boolean deleteAfterRetrieve,
EmailMetadataKey outputType,
int pageSize)
List all the emails (with pagination) in the configured pop3 mailBoxFolder that match with the specified
pop3Matcher
criteria. |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.streaming.PagingProvider<MailboxConnection,org.mule.runtime.extension.api.runtime.operation.Result<Object,POP3EmailAttributes>> |
POP3Operations.listPop3(POP3Configuration config,
MailboxConnection connection,
String mailboxFolder,
POP3EmailPredicateBuilder pop3Matcher,
boolean deleteAfterRetrieve,
EmailMetadataKey outputType,
int pageSize)
List all the emails (with pagination) in the configured pop3 mailBoxFolder that match with the specified
pop3Matcher
criteria. |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.