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
23
24#ifndef __com_sun_star_mail_SendMailMessageFailedException_idl__
25#define __com_sun_star_mail_SendMailMessageFailedException_idl__
26
27#ifndef __com_sun_star_mail_MailException_idl__
28#include <com/sun/star/mail/MailException.idl>
29#endif
30
31module com { module sun { module star { module mail {
32
33/**
34   A SendFailedException will be thrown if a mail message
35   could not be sent because the e-mail addresses of some
36   recipients are invalid. E-mail addresses have to conform
37   to <a href="http://www.ietf.org/rfc/rfc822.txt">RFC&nbsp;822</a>.
38
39   @see com::sun::star::mail::XMailServer
40
41   @since OOo 2.0
42 */
43exception SendMailMessageFailedException: com::sun::star::mail::MailException
44{
45    /**
46        The addresses which are invalid because they do not conform
47        to <a href="http://www.ietf.org/rfc/rfc822.txt">RFC&nbsp;822</a>.
48    */
49    sequence<string> InvalidAddresses;
50
51    /**
52        The addresses to which the mail message was sent successfully.
53    */
54    sequence<string> ValidSentAddresses;
55
56    /**
57        The addresses which are valid but to which the message was not sent.
58    */
59    sequence<string> ValidUnsentAddresses;
60};
61
62}; }; }; };
63
64#endif
65