[
https://issues.apache.org/jira/browse/JAMES-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17298726#comment-17298726
]
Omid Pourhadi commented on JAMES-3514:
--------------------------------------
the requirement here is to load all user's mailbox regardless of its name.
let's assume a user has SENT, INBOX, TRASH mailboxes
since this the query written in JPA.
{{}}
{code:java}
select * from james_mailbox where user_name = ? and mailbox_name like ?
{code}
{{}}
wildcard can't be used.
> Fetch list of mailbox for a user based on mailboxpath
> -----------------------------------------------------
>
> Key: JAMES-3514
> URL: https://issues.apache.org/jira/browse/JAMES-3514
> Project: James Server
> Issue Type: Bug
> Reporter: Omid Pourhadi
> Priority: Minor
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> It might be a good idea to add a method Mailboxmapper to enable fetching
> user's mailbox only based on their username/mailboxpath.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]