Package mireka.smtp

Examples of mireka.smtp.UnknownUserException


        }

        @Override
        public void recipient(RecipientContext recipientContext)
                throws RejectExceptionExt {
            throw new UnknownUserException(recipientContext.recipient);
        }
View Full Code Here


    @Override
    public FilterReply verifyRecipient(RecipientContext recipientContext)
            throws RejectExceptionExt {
        if (isKnown(recipientContext))
            return FilterReply.NEUTRAL;
        throw new UnknownUserException(recipientContext.recipient);
    }
View Full Code Here

            FilterReply filterReply =
                    filterChain.getHead().verifyRecipient(recipientContext);
            if (filterReply == FilterReply.NEUTRAL) {
                if (!recipientContext.isDestinationAssigned()
                        || (recipientContext.getDestination() instanceof UnknownRecipientDestination))
                    throw new UnknownUserException(recipientContext.recipient);
            }
            filterChain.getHead().recipient(recipientContext);
            mailTransaction.recipientContexts.add(recipientContext);
        } catch (RejectExceptionExt e) {
            throw e.toRejectException();
View Full Code Here

TOP

Related Classes of mireka.smtp.UnknownUserException

Copyright © 2018 www.massapicom. 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.