Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / ucb / RecipientInfo.idl
blobbf6caafaf1463b7692b1cb128cfe48533516f098
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_ucb_RecipientInfo_idl__
20 #define __com_sun_star_ucb_RecipientInfo_idl__
22 #include <com/sun/star/ucb/OutgoingMessageState.idl>
26 module com { module sun { module star { module ucb {
28 /** contains all information needed to send a message using one send protocol.
30 <p>To send one message via two different protocols, two RecipientInfos
31 are needed - to send one message to different users with one protocol,
32 one RecipientInfo can be used.
34 published struct RecipientInfo
36 /** the protocol to use for sending (i.e. "NNTP", "SMTP", "VIM").
38 string ProtocolType;
40 /** the current state of the message.
42 com::sun::star::ucb::OutgoingMessageState State;
44 /** the recipient(s) (e.g. e-mail address/es).
46 <p>Multiple addresses are separated by commas.
48 string To;
50 /** the recipient(s) of a "carbon copy" (e.g. e-mail address/es).
52 <p>Multiple addresses are separated by commas.
54 string CC;
56 /** the recipient(s) of "blind carbon copy" (e.g. e-mail address/es).
58 <p>Multiple addresses are separated by commas.
60 string BCC;
62 /** the newsgroup(s) to which an article is be posted.
64 <p>Multiple addresses are separated by commas.
66 string Newsgroups;
68 /** the name of the server to be used for sending the message.
70 string Server;
72 /** the user name to be used for authorizing on the send server.
74 string Username;
76 /** the password to be used for authorizing on the send server.
78 string Password;
80 /** the Post Office Path (VIM only).
82 string VIMPostOfficePath;
84 /** string representing the last error (generated by send server).
86 string ProtocolErrorString;
88 /** the number representing the last error (generated by send server).
90 long ProtocolErrorNumber;
92 /** the count of tries to send a message. This count is <code>1</code>
93 if the message was sent with the first try and increases with every
94 unsuccessful retry.
96 long SendTries;
101 }; }; }; };
103 #endif
105 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */