1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: mailenum.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
33 // enum ------------------------------------------------------------------
37 MAIL_STATE_SUCCESS
= 0,
39 MAIL_STATE_ATTACHED_NOT_FOUND
,
41 MAIL_STATE_LOGIN_FAILURE
,
42 MAIL_STATE_RECEIVER_NOT_FOUND
,
43 MAIL_STATE_TOO_MANY_FILES
,
44 MAIL_STATE_TOO_MANY_RECEIVERS
,
45 MAIL_STATE_NO_RECEIVERS
,
46 MAIL_STATE_USER_CANCEL
,
47 MAIL_STATE_DRIVER_NOT_AVAILABLE
52 MAIL_DRIVER_DETECT
= 0,
54 MAIL_DRIVER_VIM
= MAIL_DRIVER_BEGIN
,
65 MAIL_PRIORITY_LOW
= 0,
75 MAIL_RECEIVER_NEWSGROUP
80 MAIL_ACTION_DYING
, // Server stirbt
81 MAIL_ACTION_SEND
, // Mail wurde versendet
82 MAIL_ACTION_READ
, // Mail wurde als gelesen gekennzeichnet
83 MAIL_ACTION_REMOVED
, // Mail wurde gel"oscht
84 MAIL_ACTION_UPDATED
, // alle Mails wurden neu eingelesen
85 MAIL_ACTION_NEXT
, // Sprung zur n"achsten Mail
86 MAIL_ACTION_PREV
// Sprung zur vorherigen Mail
89 // Textformat zum Versenden von Nachrichten ------------------------------
91 #define TXTFORMAT_ASCII ((BYTE)0x01)
92 #define TXTFORMAT_HTML ((BYTE)0x02)
93 #define TXTFORMAT_RTF ((BYTE)0x04)
94 #define TXTFORMAT_OFFICE ((BYTE)0x08)