18 #ifndef SIMPLEMAIL_SENDER_H    19 #define SIMPLEMAIL_SENDER_H    22 #include <QtNetwork/QSslSocket>    81     void setHost(
const QString &host);
    91     void setPort(
int port);
   103     void setName(
const QString &name);
   118     QString user() 
const;
   123     void setUser(
const QString &user);
   128     QString password() 
const;
   133     void setPassword(
const QString &password);
   148     QByteArray responseText() 
const;
   153     int responseCode() 
const;
   158     int connectionTimeout() 
const;
   163     void setConnectionTimeout(
int msec);
   168     int responseTimeout() 
const;
   173     void setResponseTimeout(
int msec);
   178     int sendMessageTimeout() 
const;
   183     void setSendMessageTimeout(
int msec);
   189     void ignoreSslErrors();
   196     void ignoreSslErrors(
const QList<QSslError> &errors);
   212     QString lastError() 
const;
   217     void socketStateChanged(QAbstractSocket::SocketState state);
   218     void socketError(QAbstractSocket::SocketError error);
   219     void socketReadyRead();
   223     void sslErrors(
const QList<QSslError> &sslErrorList);
   231 #endif // SIMPLEMAIL_SENDER_H SenderPrivate * d_ptr
Definition: sender.h:226
Definition: sender_p.h:29
#define SMTP_EXPORT
Definition: smtpexports.h:7
ConnectionType
Definition: sender.h:54
SmtpError
Definition: sender.h:43
AuthMethod
Definition: sender.h:35
Definition: mimemessage.h:31
PeerVerificationType
Definition: sender.h:62
Definition: emailaddress.h:26