Package org.exoplatform.bluemind.mail.service


package org.exoplatform.bluemind.mail.service
  • Class
    Description
    The one port through which the mail engines talk to a BlueMind server's mailbox settings: one job run inside a REST session opened as the account a source names, over bluemind-client's own session handling.
    Carries a checked refusal out of a session's job, which can only throw unchecked exceptions, to the verb that declares it; never seen by the host.
    What the rules engine does with the caller's mailbox in one session: the reads, the decision, the writes.
    The writes of one change to eXo's rules on a BlueMind mailbox, one rule per call, each recorded with what undoes it.
    The mailbox of one open session, over bluemind-client's mailbox calls: every call is the client's, on the session the client opened, so the paths, the key header and the failures by kind are the client's rules.
    The mail engines' transport: BlueMindRestClient.call(org.exoplatform.bluemind.client.BlueMindAccountSource, java.util.function.Function<org.exoplatform.bluemind.client.BlueMindSession, T>) with the account's source, and the job run on the session's own mailbox through BlueMindMailboxClient and BlueMindMailboxSharingClient.
    One mail account as bluemind-client asks for it: the connector's BlueMind server, and the login and password the mail host's own session resolves for its caller on the IMAP channel — BlueMind's REST login takes the mailbox's own IMAP password, or the session id a credentials provider presents as one.