summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Enumeration/MessageDispositionType.php
blob: 56a40477516c0eacdeaea6df09e5b404a17a4fb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/**
 * Contains \jamesiarmes\PhpEws\Enumeration\MessageDispositionType.
 */

namespace jamesiarmes\PhpEws\Enumeration;

use \jamesiarmes\PhpEws\Enumeration;

/**
 * Describes how an e-mail message will be handled after it is created.
 *
 * @package php-ews\Enumeration
 */
class MessageDispositionType extends Enumeration
{
    /**
     * The message item is saved in the folder that is specified by the
     * SavedItemFolderId element.
     *
     * Messages can be sent later by using the SendItem operation. An item
     * identifier is returned in the response. Item identifiers are not returned
     * for any item types except for message items. This includes response
     * objects.
     *
     * @since Exchange 2007
     *
     * @var string
     */
    const SAVE_ONLY = 'SaveOnly';

    /**
     * The item is sent and a copy is saved in the folder that is identified by
     * the SavedItemFolderId element.
     *
     * An item identifier is not returned in the response.
     *
     * Meeting requests are not saved to the folder that is identified by the
     * SavedItemFolderId property. For calendaring, only the save location for
     * calendar items can be specified by the SavedItemFolderId property. You
     * cannot control where a meeting request item is saved. Only the associated
     * calendar items are copied and saved into the folder that is identified by
     * the SavedItemFolderId property.
     *
     * @since Exchange 2007
     *
     * @var string
     */
    const SEND_AND_SAVE_COPY = 'SendAndSaveCopy';

    /**
     * The item is sent but no copy is saved in the Sent Items folder.
     *
     * An item identifier is not returned in the response.
     *
     * CreateItem does not support delegate access when the SendOnly option is
     * used because a destination folder cannot be specified with this option.
     * The workaround is to create the item, get the item identifier, and then
     * use the SendItem operation to send the item.
     *
     * @since Exchange 2007
     *
     * @var string
     */
    const SEND_ONLY = 'SendOnly';
}