QMailMessage Class Reference
|
Constant | Value | Description |
---|---|---|
QMailMessage::LinkToAttachments | 0 | Add a part to the message containing a link to the supplied attachment. If the document is removed, the message will no longer have access to the data. |
QMailMessage::CopyAttachments | 1 | Add a part to the message containing a copy of the data in the supplied attachment. If the document is removed, the message will still contain the data. |
QMailMessage::CopyAndDeleteAttachments | 2 | Add a part to the message containing a copy of the data in the supplied attachment, then delete the document from which the data was copied. |
This enum type is used to describe the format in which a message should be serialized.
Constant | Value | Description |
---|---|---|
QMailMessage::HeaderOnlyFormat | 1 | Only the header portion of the message is serialized, to RFC 2822 form. |
QMailMessage::StorageFormat | 2 | The message is serialized to RFC 2822 form, without attachments. |
QMailMessage::TransmissionFormat | 3 | The entire message is serialized to RFC 2822 form, with additional header fields added if necessary, and 'bcc' header field omitted. |
QMailMessage::IdentityFormat | 4 | The entire message is serialized to RFC 2822 form, with only Content-Type and Content-Transfer-Encoding headers added where required. |
Constructs an empty message object.
Constructs a message object from data stored in the message store with QMailMessageId id.
Constructs a message object from data stored in the message store with the unique identifier uid from the account with id accountId.
Returns a list of all the bcc (blind carbon copy) recipients specified for the message.
See also setBcc(), to(), cc(), and QMailAddress.
Returns a list of all the cc (carbon copy) recipients specified for the message.
See also setCc(), to(), bcc(), and QMailAddress.
Constructs a mail message from the RFC 2822 data contained in byteArray.
Constructs a mail message from the RFC 2822 data contained in the file fileName.
Returns true if there are any recipients (either To, CC or BCC addresses) defined for this message; otherwise returns false.
Returns the message ID specified by the RFC 2822 'In-Reply-To' field for the message, if present.
See also setInReplyTo().
Returns a list of all the recipients specified for the message, either as To, CC, or BCC addresses.
See also to(), cc(), bcc(), and hasRecipients().
Returns the address specified by the RFC 2822 'Reply-To' field for the message, if present.
See also setReplyTo().
Set the list of bcc (blind carbon copy) recipients for the message to bccList.
See also bcc(), setTo(), and setCc().
Set the list of cc (carbon copy) recipients for the message to ccList.
See also setTo() and setBcc().
Sets the RFC 2822 'In-Reply-To' field for the message to messageId.
See also inReplyTo().
Sets the RFC 2822 'Reply-To' address of the message to address.
See also replyTo().
Returns the message in RFC 2822 format. The encoded content will vary depending on the value of format.
This is an overloaded member function, provided for convenience.
Writes the message to the output stream out, in RFC 2822 format. The encoded content will vary depending on the value of format.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com