8 #include <Cutelyst/Plugins/View/email_export.h>
9 #include <Cutelyst/view.h>
13 class ViewEmailPrivate;
30 Q_PROPERTY(
QString stashKey READ stashKey WRITE setStashKey NOTIFY changed)
35 Q_PROPERTY(
QByteArray defaultContentType READ defaultContentType WRITE setDefaultContentType
41 Q_PROPERTY(
QByteArray defaultCharset READ defaultCharset WRITE setDefaultCharset NOTIFY changed)
46 QByteArray defaultEncoding READ defaultEncoding WRITE setDefaultEncoding NOTIFY changed)
54 Q_ENUM(ConnectionType)
77 [[nodiscard]]
QString stashKey()
const;
83 void setStashKey(
const QString &stashKey);
90 [[nodiscard]]
QByteArray defaultContentType()
const;
97 void setDefaultContentType(
const QByteArray &contentType);
104 [[nodiscard]]
QByteArray defaultCharset()
const;
115 void setDefaultCharset(
const QByteArray &charset);
122 [[nodiscard]]
QByteArray defaultEncoding()
const;
129 void setDefaultEncoding(
const QByteArray &encoding);
135 [[nodiscard]]
QString senderHost()
const;
141 void setSenderHost(
const QString &host);
147 [[nodiscard]]
int senderPort()
const;
153 void setSenderPort(
int port);
159 [[nodiscard]] ConnectionType senderConnectionType()
const;
165 void setSenderConnectionType(ConnectionType ct);
171 [[nodiscard]] AuthMethod senderAuthMethod()
const;
177 void setSenderAuthMethod(AuthMethod method);
183 [[nodiscard]]
QString senderUser()
const;
189 void setSenderUser(
const QString &user);
195 [[nodiscard]]
QString senderPassword()
const;
201 void setSenderPassword(
const QString &password);
A view that sends stash data via e-mail.
Abstract View component for Cutelyst.
The Cutelyst namespace holds all public Cutelyst API.