aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/pop/MCPOPCheckAccountOperation.cpp
blob: f83cd740df1162dcc9682efc562328a5af175f20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
//  MCPOPCheckAccountOperation.cpp
//  mailcore2
//
//  Created by DINH Viêt Hoà on 4/6/13.
//  Copyright (c) 2013 MailCore. All rights reserved.
//

#include "MCPOPCheckAccountOperation.h"

#include "MCPOPAsyncSession.h"
#include "MCPOPSession.h"

using namespace mailcore;

POPCheckAccountOperation::POPCheckAccountOperation()
{
}

POPCheckAccountOperation::~POPCheckAccountOperation()
{
}

void POPCheckAccountOperation::main()
{
    ErrorCode error;
    
    session()->session()->checkAccount(&error);
    setError(error);
}