update dev300-m58
[ooovba.git] / offapi / com / sun / star / ucb / RecipientInfo.idl
blob7ed810a4835007e23825e08813ecd7cceae7c4a0
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: RecipientInfo.idl,v $
10 * $Revision: 1.7 $
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 ************************************************************************/
30 #ifndef __com_sun_star_ucb_RecipientInfo_idl__
31 #define __com_sun_star_ucb_RecipientInfo_idl__
33 #ifndef __com_sun_star_ucb_OutgoingMessageState_idl__
34 #include <com/sun/star/ucb/OutgoingMessageState.idl>
35 #endif
38 //=============================================================================
40 module com { module sun { module star { module ucb {
42 //=============================================================================
43 /** contains all information needed to send a message using one send protocol.
45 <p>To send one message via two different protocols, two RecipientInfos
46 are needed - to send one message to different users with one protocol,
47 one RecipientInfo can be used.
49 published struct RecipientInfo
51 //-------------------------------------------------------------------------
52 /** the protocol to use for sending (i.e. "NNTP", "SMTP", "VIM").
54 string ProtocolType;
56 //-------------------------------------------------------------------------
57 /** the current state of the message.
59 com::sun::star::ucb::OutgoingMessageState State;
61 //-------------------------------------------------------------------------
62 /** the recipient(s) (e.g. e-mail address/es).
64 <p>Multiple addresses are separated by commas.
66 string To;
68 //-------------------------------------------------------------------------
69 /** the recipient(s) of a "carbon copy" (e.g. e-mail address/es).
71 <p>Multiple addresses are separated by commas.
73 string CC;
75 //-------------------------------------------------------------------------
76 /** the recipient(s) of "blind carbon copy" (e.g. e-mail address/es).
78 <p>Multiple addresses are separated by commas.
80 string BCC;
82 //-------------------------------------------------------------------------
83 /** the newsgroup(s) to which an article is be posted.
85 <p>Multiple addresses are separated by commas.
87 string Newsgroups;
89 //-------------------------------------------------------------------------
90 /** the name of the server to be used for sending the message.
92 string Server;
94 //-------------------------------------------------------------------------
95 /** the user name to be used for authorizing on the send server.
97 string Username;
99 //-------------------------------------------------------------------------
100 /** the password to be used for authorizing on the send server.
102 string Password;
104 //-------------------------------------------------------------------------
105 /** the Post Office Path (VIM only).
107 string VIMPostOfficePath;
109 //-------------------------------------------------------------------------
110 /** string representing the last error (generated by send server).
112 string ProtocolErrorString;
114 //-------------------------------------------------------------------------
115 /** the number representing the last error (generated by send server).
117 long ProtocolErrorNumber;
119 //-------------------------------------------------------------------------
120 /** the count of tries to send a message. This count is <code>1</code>
121 if the message was sent with the first try and increases with every
122 unsuccessful retry.
124 long SendTries;
128 //=============================================================================
130 }; }; }; };
132 #endif