This file is indexed.

/usr/share/doc/qmf/html/qmailmessage.html is in qmf-doc-html 1.0.7~2011w23.2-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qmailmessage.cpp -->
<head>
  <title>QMailMessage Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><img src="images/qtlogo.png" align="left" border="0" /></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a></td>
<td align="right" valign="top" width="230"><img src="images/codeless.png"  border="0" /></td></tr></table><h1 class="title">QMailMessage Class Reference</h1>
<p>The QMailMessage class provides a convenient interface for working with messages. <a href="#details">More...</a></p>
<pre>    #include &lt;QMailMessage&gt;</pre><p><b>This class is under development and is subject to change.</b></p>
<p>Inherits <a href="qmailmessagemetadata.html">QMailMessageMetaData</a>, <a href="qmailmessagepartcontainer.html">QMailMessagePartContainer</a>, and <a href="qmailmessagefwd.html">QMailMessageFwd</a>.</p>
<ul>
<li><a href="qmailmessage-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#QMailMessage">QMailMessage</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#QMailMessage-2">QMailMessage</a></b> ( const QMailMessageId &amp; <i>id</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#QMailMessage-3">QMailMessage</a></b> ( const QString &amp; <i>uid</i>, const QMailAccountId &amp; <i>accountId</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QList&lt;QMailAddress&gt; </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#bcc">bcc</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QList&lt;QMailAddress&gt; </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#cc">cc</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#contains">contains</a></b> ( const QMailMessagePart::Location &amp; <i>location</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual uint </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#contentSize">contentSize</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#externalLocationReference">externalLocationReference</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#hasRecipients">hasRecipients</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#inReplyTo">inReplyTo</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QMailMessagePart &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#partAt">partAt</a></b> ( const QMailMessagePart::Location &amp; <i>location</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailMessagePart &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#partAt-2">partAt</a></b> ( const QMailMessagePart::Location &amp; <i>location</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QList&lt;QMailAddress&gt; </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#recipients">recipients</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QMailAddress </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#replyTo">replyTo</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setBcc">setBcc</a></b> ( const QList&lt;QMailAddress&gt; &amp; <i>bccList</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setCc">setCc</a></b> ( const QList&lt;QMailAddress&gt; &amp; <i>ccList</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setContentSize">setContentSize</a></b> ( uint <i>size</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setExternalLocationReference">setExternalLocationReference</a></b> ( const QString &amp; <i>location</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setInReplyTo">setInReplyTo</a></b> ( const QString &amp; <i>messageId</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setReplyTo">setReplyTo</a></b> ( const QMailAddress &amp; <i>address</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QByteArray </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#toRfc2822">toRfc2822</a></b> ( EncodingFormat <i>format</i> = TransmissionFormat ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#toRfc2822-2">toRfc2822</a></b> ( QDataStream &amp; <i>out</i>, EncodingFormat <i>format</i> = TransmissionFormat ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QList&lt;QMailMessage::MessageChunk&gt; </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#toRfc2822Chunks">toRfc2822Chunks</a></b> ( EncodingFormat <i>format</i> = TransmissionFormat ) const</td></tr>
</table>
<hr />
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#appendHeaderField">appendHeaderField</a></b> ( const QString &amp; <i>id</i>, const QString &amp; <i>value</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#appendHeaderField-2">appendHeaderField</a></b> ( const QMailMessageHeaderField &amp; <i>field</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#contentAvailable">contentAvailable</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual uint </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#indicativeSize">indicativeSize</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#partialContentAvailable">partialContentAvailable</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#removeHeaderField">removeHeaderField</a></b> ( const QString &amp; <i>id</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setDate">setDate</a></b> ( const QMailTimeStamp &amp; <i>timeStamp</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setFrom">setFrom</a></b> ( const QMailAddress &amp; <i>from</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setHeaderField">setHeaderField</a></b> ( const QString &amp; <i>id</i>, const QString &amp; <i>value</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setHeaderField-2">setHeaderField</a></b> ( const QMailMessageHeaderField &amp; <i>field</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setId">setId</a></b> ( const QMailMessageId &amp; <i>id</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setSubject">setSubject</a></b> ( const QString &amp; <i>subject</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setTo">setTo</a></b> ( const QList&lt;QMailAddress&gt; &amp; <i>toList</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#setTo-2">setTo</a></b> ( const QMailAddress &amp; <i>address</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>57 public functions inherited from <a href="qmailmessagemetadata.html#public-functions">QMailMessageMetaData</a></li>
<li><div bar="2" class="fn"></div>40 public functions inherited from <a href="qmailmessagepartcontainer.html#public-functions">QMailMessagePartContainer</a></li>
</ul>
<hr />
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">QMailMessage </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#fromRfc2822">fromRfc2822</a></b> ( const QByteArray &amp; <i>byteArray</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailMessage </td><td class="memItemRight" valign="bottom"><b><a href="qmailmessage.html#fromRfc2822File">fromRfc2822File</a></b> ( const QString &amp; <i>fileName</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>29 static public members inherited from <a href="qmailmessagemetadata.html#static-public-members">QMailMessageMetaData</a></li>
<li><div bar="2" class="fn"></div>2 static public members inherited from <a href="qmailmessagepartcontainer.html#static-public-members">QMailMessagePartContainer</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QMailMessage class provides a convenient interface for working with messages.</p>
<p>QMailMessage supports a number of types. These include telephony types such as SMS and MMS, and Internet email messages as defined in <a href="http://www.ietf.org/rfc/rfc2822.txt">RFC 2822</a> (Internet Message Format), and <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a> (Format of Internet Message Bodies) through <a href="http://www.ietf.org/rfc/rfc2049.txt">RFC 2049</a> (Conformance Criteria and Examples).</p>
<p>The most common way to use QMailMessage is to initialize it from raw data using <a href="qmailmessage.html#fromRfc2822">QMailMessage::fromRfc2822</a>().</p>
<p>A QMailMessage can also be constructed piece by piece using functions such as <a href="qmailmessagemetadata.html#setMessageType">setMessageType</a>(), <a href="qmailmessage.html#setFrom">setFrom</a>(), <a href="qmailmessage.html#setTo">setTo</a>(), <a href="qmailmessage.html#setSubject">setSubject</a>(), and <a href="qmailmessagepartcontainer.html#setBody">setBody</a>() or <a href="qmailmessagepartcontainer.html#appendPart">appendPart</a>(). Convenience functions such as <a href="qmailmessagemetadata.html#from">from</a>()/<a href="qmailmessage.html#setFrom">setFrom</a>() and <a href="qmailmessagemetadata.html#date">date</a>()/<a href="qmailmessage.html#setDate">setDate</a>() accept and return wrapper types, to simplify the exchange of correctly-formatted data. In some cases, however, it may be simpler for clients to get and set the content of header fields directly, using the <a href="qmailmessagepartcontainer.html#headerField">headerField</a>() and <a href="qmailmessage.html#setHeaderField">setHeaderField</a>() functions inherited from <a href="qmailmessagepartcontainer.html">QMailMessagePartContainer</a>.</p>
<p>Messages can be added to the <a href="qmailstore.html">QMailStore</a>, or retrieved from the store via their <a href="qmailmessageid.html">QMailMessageId</a> identifier. The QMailMessage object also provides access to any relevant meta data describing the message, using the functions inherited from <a href="qmailmessagemetadata.html">QMailMessageMetaData</a>.</p>
<p>A message may be serialized to a <a href="http://doc.trolltech.com/4.5/qdatastream.html">QDataStream</a>, or returned as a <a href="http://doc.trolltech.com/4.5/qbytearray.html">QByteArray</a> using <a href="qmailmessage.html#toRfc2822">toRfc2822</a>().</p>
<p>See also <a href="qmailmessagemetadata.html">QMailMessageMetaData</a>, <a href="qmailmessagepart.html">QMailMessagePart</a>, <a href="qmailmessagebody.html">QMailMessageBody</a>, <a href="qmailstore.html">QMailStore</a>, and <a href="qmailmessageid.html">QMailMessageId</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QMailMessage"></a>QMailMessage::QMailMessage ()</h3>
<p>Constructs an empty message object.</p>
<h3 class="fn"><a name="QMailMessage-2"></a>QMailMessage::QMailMessage ( const <a href="qmailmessageid.html">QMailMessageId</a> &amp; <i>id</i> )</h3>
<p>Constructs a message object from data stored in the message store with <a href="qmailmessageid.html">QMailMessageId</a> <i>id</i>.</p>
<h3 class="fn"><a name="QMailMessage-3"></a>QMailMessage::QMailMessage ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>uid</i>, const <a href="qmailaccountid.html">QMailAccountId</a> &amp; <i>accountId</i> )</h3>
<p>Constructs a message object from data stored in the message store with the unique identifier <i>uid</i> from the account with id <i>accountId</i>.</p>
<h3 class="fn"><a name="appendHeaderField"></a>void QMailMessage::appendHeaderField ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>id</i>, const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>value</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagepartcontainer.html#appendHeaderField">QMailMessagePartContainer::appendHeaderField</a>().</p>
<h3 class="fn"><a name="appendHeaderField-2"></a>void QMailMessage::appendHeaderField ( const <a href="qmailmessageheaderfield.html">QMailMessageHeaderField</a> &amp; <i>field</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagepartcontainer.html#appendHeaderField-2">QMailMessagePartContainer::appendHeaderField</a>().</p>
<h3 class="fn"><a name="bcc"></a><a href="http://doc.trolltech.com/4.5/qlist.html">QList</a>&lt;<a href="qmailaddress.html">QMailAddress</a>&gt; QMailMessage::bcc () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns a list of all the bcc (blind carbon copy) recipients specified for the message.</p>
<p>See also <a href="qmailmessage.html#setBcc">setBcc</a>(), <a href="qmailmessagemetadata.html#to">to</a>(), <a href="qmailmessage.html#cc">cc</a>(), and <a href="qmailaddress.html">QMailAddress</a>.</p>
<h3 class="fn"><a name="cc"></a><a href="http://doc.trolltech.com/4.5/qlist.html">QList</a>&lt;<a href="qmailaddress.html">QMailAddress</a>&gt; QMailMessage::cc () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns a list of all the cc (carbon copy) recipients specified for the message.</p>
<p>See also <a href="qmailmessage.html#setCc">setCc</a>(), <a href="qmailmessagemetadata.html#to">to</a>(), <a href="qmailmessage.html#bcc">bcc</a>(), and <a href="qmailaddress.html">QMailAddress</a>.</p>
<h3 class="fn"><a name="contains"></a>bool QMailMessage::contains ( const <a href="qmailmessagepartcontainer-location.html">QMailMessagePart::Location</a> &amp; <i>location</i> ) const</h3>
<p>Returns true if the message contains a part with the location <i>location</i>.</p>
<h3 class="fn"><a name="contentAvailable"></a>bool QMailMessage::contentAvailable () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagemetadata.html#contentAvailable">QMailMessageMetaData::contentAvailable</a>().</p>
<h3 class="fn"><a name="contentSize"></a><a href="http://doc.trolltech.com/4.5/qtglobal.html#uint-typedef">uint</a> QMailMessage::contentSize () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns the size of the message content excluding any meta data, in bytes.</p>
<p>See also <a href="qmailmessage.html#setContentSize">setContentSize</a>().</p>
<h3 class="fn"><a name="externalLocationReference"></a><a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> QMailMessage::externalLocationReference () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns a value by which the external location of the message can be referenced, if available.</p>
<p>See also <a href="qmailmessage.html#setExternalLocationReference">setExternalLocationReference</a>().</p>
<h3 class="fn"><a name="fromRfc2822"></a>QMailMessage QMailMessage::fromRfc2822 ( const <a href="http://doc.trolltech.com/4.5/qbytearray.html">QByteArray</a> &amp; <i>byteArray</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Constructs a mail message from the RFC 2822 data contained in <i>byteArray</i>.</p>
<h3 class="fn"><a name="fromRfc2822File"></a>QMailMessage QMailMessage::fromRfc2822File ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>fileName</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Constructs a mail message from the RFC 2822 data contained in the file <i>fileName</i>.</p>
<h3 class="fn"><a name="hasRecipients"></a>bool QMailMessage::hasRecipients () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns true if there are any recipients (either To, CC or BCC addresses) defined for this message; otherwise returns false.</p>
<h3 class="fn"><a name="inReplyTo"></a><a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> QMailMessage::inReplyTo () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns the message ID specified by the RFC 2822 'In-Reply-To' field for the message, if present.</p>
<p>See also <a href="qmailmessage.html#setInReplyTo">setInReplyTo</a>().</p>
<h3 class="fn"><a name="indicativeSize"></a><a href="http://doc.trolltech.com/4.5/qtglobal.html#uint-typedef">uint</a> QMailMessage::indicativeSize () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagemetadata.html#indicativeSize">QMailMessageMetaData::indicativeSize</a>().</p>
<h3 class="fn"><a name="partAt"></a>const <a href="qmailmessagepart.html">QMailMessagePart</a> &amp; QMailMessage::partAt ( const <a href="qmailmessagepartcontainer-location.html">QMailMessagePart::Location</a> &amp; <i>location</i> ) const</h3>
<p>Returns a const reference to the part at the location <i>location</i> within the message.</p>
<h3 class="fn"><a name="partAt-2"></a><a href="qmailmessagepart.html">QMailMessagePart</a> &amp; QMailMessage::partAt ( const <a href="qmailmessagepartcontainer-location.html">QMailMessagePart::Location</a> &amp; <i>location</i> )</h3>
<p>Returns a non-const reference to the part at the location <i>location</i> within the message.</p>
<h3 class="fn"><a name="partialContentAvailable"></a>bool QMailMessage::partialContentAvailable () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagemetadata.html#partialContentAvailable">QMailMessageMetaData::partialContentAvailable</a>().</p>
<h3 class="fn"><a name="recipients"></a><a href="http://doc.trolltech.com/4.5/qlist.html">QList</a>&lt;<a href="qmailaddress.html">QMailAddress</a>&gt; QMailMessage::recipients () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns a list of all the recipients specified for the message, either as To, CC, or BCC addresses.</p>
<p>See also <a href="qmailmessagemetadata.html#to">to</a>(), <a href="qmailmessage.html#cc">cc</a>(), <a href="qmailmessage.html#bcc">bcc</a>(), and <a href="qmailmessage.html#hasRecipients">hasRecipients</a>().</p>
<h3 class="fn"><a name="removeHeaderField"></a>void QMailMessage::removeHeaderField ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>id</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagepartcontainer.html#removeHeaderField">QMailMessagePartContainer::removeHeaderField</a>().</p>
<h3 class="fn"><a name="replyTo"></a><a href="qmailaddress.html">QMailAddress</a> QMailMessage::replyTo () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns the address specified by the RFC 2822 'Reply-To' field for the message, if present.</p>
<p>See also <a href="qmailmessage.html#setReplyTo">setReplyTo</a>().</p>
<h3 class="fn"><a name="setBcc"></a>void QMailMessage::setBcc ( const <a href="http://doc.trolltech.com/4.5/qlist.html">QList</a>&lt;<a href="qmailaddress.html">QMailAddress</a>&gt; &amp; <i>bccList</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Set the list of bcc (blind carbon copy) recipients for the message to <i>bccList</i>.</p>
<p>See also <a href="qmailmessage.html#bcc">bcc</a>(), <a href="qmailmessage.html#setTo">setTo</a>(), and <a href="qmailmessage.html#setCc">setCc</a>().</p>
<h3 class="fn"><a name="setCc"></a>void QMailMessage::setCc ( const <a href="http://doc.trolltech.com/4.5/qlist.html">QList</a>&lt;<a href="qmailaddress.html">QMailAddress</a>&gt; &amp; <i>ccList</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Set the list of cc (carbon copy) recipients for the message to <i>ccList</i>.</p>
<p>See also <a href="qmailmessage.html#setTo">setTo</a>() and <a href="qmailmessage.html#setBcc">setBcc</a>().</p>
<h3 class="fn"><a name="setContentSize"></a>void QMailMessage::setContentSize ( <a href="http://doc.trolltech.com/4.5/qtglobal.html#uint-typedef">uint</a> <i>size</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Sets the size of the message content excluding any meta data to <i>size</i>, in bytes.</p>
<p>See also <a href="qmailmessage.html#contentSize">contentSize</a>().</p>
<h3 class="fn"><a name="setDate"></a>void QMailMessage::setDate ( const <a href="qmailtimestamp.html">QMailTimeStamp</a> &amp; <i>timeStamp</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagemetadata.html#setDate">QMailMessageMetaData::setDate</a>().</p>
<h3 class="fn"><a name="setExternalLocationReference"></a>void QMailMessage::setExternalLocationReference ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>location</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns the value by which the external location of the message can be referenced to <i>location</i>.</p>
<p>See also <a href="qmailmessage.html#externalLocationReference">externalLocationReference</a>().</p>
<h3 class="fn"><a name="setFrom"></a>void QMailMessage::setFrom ( const <a href="qmailaddress.html">QMailAddress</a> &amp; <i>from</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagemetadata.html#setFrom">QMailMessageMetaData::setFrom</a>().</p>
<h3 class="fn"><a name="setHeaderField"></a>void QMailMessage::setHeaderField ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>id</i>, const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>value</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagepartcontainer.html#setHeaderField">QMailMessagePartContainer::setHeaderField</a>().</p>
<h3 class="fn"><a name="setHeaderField-2"></a>void QMailMessage::setHeaderField ( const <a href="qmailmessageheaderfield.html">QMailMessageHeaderField</a> &amp; <i>field</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagepartcontainer.html#setHeaderField-2">QMailMessagePartContainer::setHeaderField</a>().</p>
<h3 class="fn"><a name="setId"></a>void QMailMessage::setId ( const <a href="qmailmessageid.html">QMailMessageId</a> &amp; <i>id</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagemetadata.html#setId">QMailMessageMetaData::setId</a>().</p>
<h3 class="fn"><a name="setInReplyTo"></a>void QMailMessage::setInReplyTo ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>messageId</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Sets the RFC 2822 'In-Reply-To' field for the message to <i>messageId</i>.</p>
<p>See also <a href="qmailmessage.html#inReplyTo">inReplyTo</a>().</p>
<h3 class="fn"><a name="setReplyTo"></a>void QMailMessage::setReplyTo ( const <a href="qmailaddress.html">QMailAddress</a> &amp; <i>address</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Sets the RFC 2822 'Reply-To' address of the message to <i>address</i>.</p>
<p>See also <a href="qmailmessage.html#replyTo">replyTo</a>().</p>
<h3 class="fn"><a name="setSubject"></a>void QMailMessage::setSubject ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>subject</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagemetadata.html#setSubject">QMailMessageMetaData::setSubject</a>().</p>
<h3 class="fn"><a name="setTo"></a>void QMailMessage::setTo ( const <a href="http://doc.trolltech.com/4.5/qlist.html">QList</a>&lt;<a href="qmailaddress.html">QMailAddress</a>&gt; &amp; <i>toList</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagemetadata.html#setTo">QMailMessageMetaData::setTo</a>().</p>
<h3 class="fn"><a name="setTo-2"></a>void QMailMessage::setTo ( const <a href="qmailaddress.html">QMailAddress</a> &amp; <i>address</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qmailmessagemetadata.html#setTo-2">QMailMessageMetaData::setTo</a>().</p>
<h3 class="fn"><a name="toRfc2822"></a><a href="http://doc.trolltech.com/4.5/qbytearray.html">QByteArray</a> QMailMessage::toRfc2822 ( <a href="qmailmessagefwd.html#EncodingFormat-enum">EncodingFormat</a> <i>format</i> = TransmissionFormat ) const</h3>
<p>Returns the message in RFC 2822 format. The encoded content will vary depending on the value of <i>format</i>.</p>
<h3 class="fn"><a name="toRfc2822-2"></a>void QMailMessage::toRfc2822 ( <a href="http://doc.trolltech.com/4.5/qdatastream.html">QDataStream</a> &amp; <i>out</i>, <a href="qmailmessagefwd.html#EncodingFormat-enum">EncodingFormat</a> <i>format</i> = TransmissionFormat ) const</h3>
<p>Writes the message to the output stream <i>out</i>, in RFC 2822 format. The encoded content will vary depending on the value of <i>format</i>.</p>
<h3 class="fn"><a name="toRfc2822Chunks"></a><a href="http://doc.trolltech.com/4.5/qlist.html">QList</a>&lt;<a href="qmailmessagefwd.html#MessageChunk-typedef">QMailMessage::MessageChunk</a>&gt; QMailMessage::toRfc2822Chunks ( <a href="qmailmessagefwd.html#EncodingFormat-enum">EncodingFormat</a> <i>format</i> = TransmissionFormat ) const</h3>
<p>Returns the message in RFC 2822 format, separated into chunks that can be individually transferred by a mechanism such as that defined by RFC 3030. The encoded content will vary depending on the value of <i>format</i>.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td align="left">Copyright &copy; 2010 QtSoftware</td>
<td align="right"><div align="right">Messaging Framework</div></td>
</tr></table></div></address></body>
</html>