LibreOffice
LibreOffice 7.4 SDK API Reference
XMailMessage.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#ifndef __com_sun_star_mail_XMailMessage_idl__
21#define __com_sun_star_mail_XMailMessage_idl__
22
26
27module com { module sun { module star { module mail {
28
37
41 [attribute, readonly] string SenderName;
46 [attribute, readonly] string SenderAddress;
47
54 [attribute] string ReplyToAddress;
55
64 void addRecipient([in] string sRecipientAddress);
65
74 void addCcRecipient([in] string sRecipientAddress);
75
84 void addBccRecipient([in] string sRecipientAddress);
85
90 sequence<string> getRecipients();
91
96 sequence<string> getCcRecipients();
97
102 sequence<string> getBccRecipients();
103
107 [attribute] string Subject;
108
120
129 void addAttachment([in] MailAttachment aMailAttachment);
130
137 sequence<MailAttachment> getAttachments();
138};
139
140}; }; }; };
141
142#endif
143
144/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Interface to be implemented by objects used to provide data for a data transfer operation.
Definition: XTransferable.idl:38
Represents a mail message.
Definition: XMailMessage.idl:36
string Subject
The subject of a mail message.
Definition: XMailMessage.idl:107
sequence< string > getRecipients()
Return a sequence of the e-mail addresses of all recipients of this mail message.
string ReplyToAddress
The e-mail address where replies on this mail message should be sent to.
Definition: XMailMessage.idl:54
void addRecipient([in] string sRecipientAddress)
Add a recipients e-mail address to the list of recipients of this mail message.
void addCcRecipient([in] string sRecipientAddress)
Add a Cc recipients e-mail address to the list of recipients of this mail message.
sequence< string > getBccRecipients()
Return a sequence of the e-mail addresses of all the BCC recipients of this mail message.
string SenderName
The display name of the sender of this mail message.
Definition: XMailMessage.idl:41
void addAttachment([in] MailAttachment aMailAttachment)
Add a file attachment to a mail message.
string SenderAddress
The e-mail address of the sender of this mail message.
Definition: XMailMessage.idl:46
void addBccRecipient([in] string sRecipientAddress)
Add a BCC recipients e-mail address to the list of recipients of this mail message.
com::sun::star::datatransfer::XTransferable Body
The body of the mail message.
Definition: XMailMessage.idl:119
sequence< string > getCcRecipients()
Return a sequence of the e-mail addresses of all the Cc recipients of this mail message.
sequence< MailAttachment > getAttachments()
Return a sequence of MailAttachment's that will be attached to this mail message.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22
A MailAttachment specifies a mail message attachment.
Definition: MailAttachment.idl:35