blob: ba20567be63be797b747b521cbd9d8857f825920 (
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
|
//
// SMTPDisconnectOperation.cpp
// mailcore2
//
// Created by DINH Viêt Hoà on 6/22/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#include "MCSMTPDisconnectOperation.h"
#include "MCSMTPAsyncSession.h"
#include "MCSMTPSession.h"
using namespace mailcore;
SMTPDisconnectOperation::SMTPDisconnectOperation()
{
}
SMTPDisconnectOperation::~SMTPDisconnectOperation()
{
}
void SMTPDisconnectOperation::main()
{
session()->session()->disconnect();
setError(ErrorNone);
}
|