Projet Bee-Honey't  1.0
BTS SN 2019
mimemessage_p.h
Aller à la documentation de ce fichier.
1 /*
2  * Copyright (C) 2015 Daniel Nicoletti <dantti12@gmail.com>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public License
15  * along with this library; see the file COPYING.LIB. If not, write to
16  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19 
20 #include "mimemessage.h"
21 
22 #ifndef MIMEMESSAGE_P_H
23 #define MIMEMESSAGE_P_H
24 
25 namespace SimpleMail {
26 
28 {
29 public:
31 
32  inline static QByteArray encode(const QByteArray &addressKind, const QList<EmailAddress> &emails, MimePart::Encoding codec);
33  inline static QByteArray encodeData(MimePart::Encoding codec, const QString &data, bool autoencoding);
34 
35  QList<EmailAddress> recipientsTo;
36  QList<EmailAddress> recipientsCc;
37  QList<EmailAddress> recipientsBcc;
38  QString subject;
40  MimePart *content = nullptr;
43 };
44 
45 }
46 
47 #endif // MIMEMESSAGE_P_H
48 
bool autoMimeContentCreated
Definition: mimemessage_p.h:42
Encoding
Definition: mimepart.h:35
MimePart * content
Definition: mimemessage_p.h:40
Definition: mimepart.h:37
MimePart::Encoding encoding
Definition: mimemessage_p.h:41
Definition: mimemessage_p.h:27
QList< EmailAddress > recipientsCc
Definition: mimemessage_p.h:36
QString subject
Definition: mimemessage_p.h:38
static QByteArray encode(const QByteArray &addressKind, const QList< EmailAddress > &emails, MimePart::Encoding codec)
Definition: mimemessage.cpp:219
Definition: mimepart.h:32
EmailAddress sender
Definition: mimemessage_p.h:39
static QByteArray encodeData(MimePart::Encoding codec, const QString &data, bool autoencoding)
Definition: mimemessage.cpp:247
~MimeMessagePrivate()
Definition: mimemessage.cpp:214
QList< EmailAddress > recipientsBcc
Definition: mimemessage_p.h:37
Definition: emailaddress.h:26
Definition: emailaddress.h:29
QList< EmailAddress > recipientsTo
Definition: mimemessage_p.h:35