com.atlassian.confluence.plugins.emailgateway.api
Interface EmailHandler
- All Known Subinterfaces:
- StagingEmailHandler<C>
- All Known Implementing Classes:
- AbstractEmailHandler, CreatePageEmailHandler, ReplyToEmailHandler
@PublicSpi
public interface EmailHandler
Component that handles a particular kind of ReceivedEmail
. EmailHandlers are weighted so that lower weight
handlers get to process mail before higher weight handlers. These weights are tracked by the module descriptor.
- Since:
- 5.3
handle
boolean handle(ReceivedEmail email)
throws EmailHandlingException
- Parameters:
email
-
- Returns:
- true if this handler handled this email.
- Throws:
EmailHandlingException
Copyright © 2003-2014 Atlassian. All Rights Reserved.