Examples of MaildropDestination


Examples of mireka.pop.MaildropDestination

    @Override
    public Destination lookup(Recipient recipient) {
        LocalPart recipientLocalPart = recipient.localPart();
        for (GlobalUser user : users) {
            if (user.getUsername().matches(recipientLocalPart)) {
                MaildropDestination destination = new MaildropDestination();
                destination.setMaildropName(user.getUsername().toString());
                destination.setMaildropRepository(maildropRepository);
                return destination;
            }
        }
        return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.