1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22#ifndef __com_sun_star_system_MailClientFlags_idl__
23#define __com_sun_star_system_MailClientFlags_idl__
24
25module com { module sun { module star { module system {
26
27/**  These constants are used to specify how the <type>XMailClient</type>
28     should behave.
29 */
30constants MailClientFlags
31{
32    /** Uses the default settings when sending a mail, e.g.
33        launches the current configured system mail client.
34    */
35    const long DEFAULTS = 0;
36
37    /** Does not show the current configured system mail client GUI, but sends
38        the mail without any further user interaction.
39        <p>If this flag is specified, a recipient address must have been
40        specified for the given <type>XMailMessage</type>
41        object given to the method
42        <member scope="com::sun::star::system">XMailClient::sendMailMessage()</member>.</p>
43    */
44    const long NO_USER_INTERFACE = 1;
45
46    /** No logon dialog should be displayed to prompt the user for logon
47        information if necessary.
48        <p>When this flag is specified and the user needs to logon in order
49        to send a mail message via the method
50        <member scope="com::sun::star::system">XMailClient::sendMailMessage()</member>,
51        an <type scope="com::sun::star::uno">Exception</type> will be thrown.</p>
52    */
53    const long NO_LOGON_DIALOG = 2;
54};
55
56}; }; }; };
57
58#endif
59