-
Method Summary
Get the maildir directory that is being watched for messages.
Get the file that has been detected in the watched maildir directory.
javax.mail.Message
Get the message that created this event.
-
Method Details
-
getMaildirDirectory
Path getMaildirDirectory()
Get the maildir directory that is being watched for messages.
- Returns:
- The maildir directory that is being watched for messages.
-
getMaildirFile
Get the file that has been detected in the watched maildir directory.
- Returns:
- The file that has been detected in the watched maildir directory.
-
getMessage
javax.mail.Message getMessage()
throws
Exception
Get the message that created this event.
- Returns:
- The message that created this event.
- Throws:
Exception
- If the message could not be accessed, e.g.
due to an network or parsing error.