1/*
2 Copyright (c) 2006 - 2007 Volker Krause <vkrause@kde.org>
3
4 This library is free software; you can redistribute it and/or modify it
5 under the terms of the GNU Library General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or (at your
7 option) any later version.
8
9 This library is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12 License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to the
16 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 02110-1301, USA.
18*/
19
20#ifndef MAILTRANSPORT_MAILTRANSPORT_DEFS_H
21#define MAILTRANSPORT_MAILTRANSPORT_DEFS_H
22
23/**
24 @file mailtransport_defs.h
25 Internal file containing constant definitions etc.
26*/
27
28#define WALLET_FOLDER QLatin1String("mailtransports")
29#define KMAIL_WALLET_FOLDER QLatin1String("kmail")
30
31#define DBUS_SERVICE_NAME QLatin1String("org.kde.pim.TransportManager")
32#define DBUS_INTERFACE_NAME QLatin1String("org.kde.pim.TransportManager")
33#define DBUS_OBJECT_PATH QLatin1String("/TransportManager")
34#define DBUS_CHANGE_SIGNAL QLatin1String("changesCommitted")
35
36#define SMTP_PROTOCOL QLatin1String("smtp")
37#define SMTPS_PROTOCOL QLatin1String("smtps")
38
39#define SMTP_PORT 25
40#define SMTPS_PORT 465
41
42// Because ServerTest is also capable of testing IMAP,
43// some additional defines:
44
45#define IMAP_PROTOCOL QLatin1String("imap")
46#define IMAPS_PROTOCOL QLatin1String("imaps")
47
48#define POP_PROTOCOL QLatin1String("pop")
49#define POPS_PROTOCOL QLatin1String("pops")
50
51#define IMAP_PORT 143
52#define IMAPS_PORT 993
53
54#define POP_PORT 110
55#define POPS_PORT 995
56
57#endif
58