public abstract class NoteMailMessageWorkerBase extends MailMessageWorker
Constructor and Description |
---|
NoteMailMessageWorkerBase() |
Modifier and Type | Method and Description |
---|---|
protected String |
extractSquareBracketContentFromSubject(javax.mail.Message message)
Returns the white-space trimmed content of the first square brackets pair found inside the
email subject which encapsulates some word characters.
|
protected String |
getMailAddressOfSender(javax.mail.Message message)
Extracts the email address of the sender.
|
handleProcessMailMessage, processMailMessage, startParallelWorkingMode, stopParallelWorkingMode
protected String extractSquareBracketContentFromSubject(javax.mail.Message message) throws javax.mail.MessagingException
message
- the email message whose subject will be examinedjavax.mail.MessagingException
- when a messaging exception occurredprotected String getMailAddressOfSender(javax.mail.Message message) throws javax.mail.MessagingException
message
- the message to examinejavax.mail.MessagingException
- in case of an errorCopyright © 2019 Communote team. All rights reserved.