Class MailBox

    • Method Detail

      • fetchPersonsFromString

        public static List<MailBoxfetchPersonsFromString​(String value,
                                                           boolean isStrict)
        Resolve value to find the mailbox associated. if strict is true and if value is prefixed by "user:" then find the email address in his profile, otherwise the given string is considered as the email address. if strict is false, and there is comma. The value is considered as a list. For each substring the resolution is as explained below : if the substring startswith by "user:" then try to resolve the user email, otherwise try to fetch the user without prefix if not found considered the string as an email address.
      • toString

        public String toString()
        returning the mailbox address as String. If firstname and lastname is set add it into the returned string.
        Overrides:
        toString in class Object