Changeset View
Changeset View
Standalone View
Standalone View
agents/maildispatcher/outboxqueue.cpp
Show All 29 Lines | |||||
30 | #include <Monitor> | 30 | #include <Monitor> | ||
31 | #include <Akonadi/KMime/AddressAttribute> | 31 | #include <Akonadi/KMime/AddressAttribute> | ||
32 | #include <Akonadi/KMime/MessageFlags> | 32 | #include <Akonadi/KMime/MessageFlags> | ||
33 | #include <Akonadi/KMime/SpecialMailCollections> | 33 | #include <Akonadi/KMime/SpecialMailCollections> | ||
34 | #include <Akonadi/KMime/SpecialMailCollectionsRequestJob> | 34 | #include <Akonadi/KMime/SpecialMailCollectionsRequestJob> | ||
35 | 35 | | |||
36 | #include <kmime/kmime_message.h> | 36 | #include <kmime/kmime_message.h> | ||
37 | 37 | | |||
38 | #include <mailtransportakonadi/dispatchmodeattribute.h> | 38 | #include <MailTransportAkonadi/DispatchModeAttribute> | ||
39 | #include <mailtransportakonadi/sentbehaviourattribute.h> | 39 | #include <MailTransportAkonadi/SentBehaviourAttribute> | ||
40 | #include <mailtransportakonadi/transportattribute.h> | 40 | #include <MailTransportAkonadi/TransportAttribute> | ||
41 | 41 | | |||
42 | using namespace Akonadi; | 42 | using namespace Akonadi; | ||
43 | using namespace MailTransport; | 43 | using namespace MailTransport; | ||
44 | 44 | | |||
45 | static const int OUTBOX_DISCOVERY_RETRIES = 3; // number of times we try to find or create the outbox | 45 | static const int OUTBOX_DISCOVERY_RETRIES = 3; // number of times we try to find or create the outbox | ||
46 | static const int OUTBOX_DISCOVERY_WAIT_TIME = 5000; // number of ms to wait before retrying | 46 | static const int OUTBOX_DISCOVERY_WAIT_TIME = 5000; // number of ms to wait before retrying | ||
47 | 47 | | |||
48 | void OutboxQueue::initQueue() | 48 | void OutboxQueue::initQueue() | ||
▲ Show 20 Lines • Show All 346 Lines • Show Last 20 Lines |