Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ImapConnector |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.transport.email; | |
8 | ||
9 | import org.mule.api.MuleContext; | |
10 | ||
11 | /** | |
12 | * Receives messages from an IMAP mailbox | |
13 | */ | |
14 | public class ImapConnector extends AbstractRetrieveMailConnector | |
15 | { | |
16 | ||
17 | public static final String IMAP = "imap"; | |
18 | public static final int DEFAULT_IMAP_PORT = 143; | |
19 | ||
20 | public ImapConnector(MuleContext context) | |
21 | { | |
22 | 0 | super(DEFAULT_IMAP_PORT, context); |
23 | 0 | } |
24 | ||
25 | public String getProtocol() | |
26 | { | |
27 | 0 | return IMAP; |
28 | } | |
29 | ||
30 | } |