The QxtSmtp class implements the SMTP protocol for sending email.
More...
#include <qxtsmtp.h>
|
| enum | SmtpError {
NoError
, NoRecipients
, CommandUnrecognized = 500
, SyntaxError
,
CommandNotImplemented
, BadSequence
, ParameterNotImplemented
, MailboxUnavailable = 550
,
UserNotLocal
, MessageTooLarge
, InvalidMailboxName
, TransactionFailed
} |
The QxtSmtp class implements the SMTP protocol for sending email.
\inmodule QxtNetwork
◆ SmtpError
| Enumerator |
|---|
| NoError | |
| NoRecipients | |
| CommandUnrecognized | |
| SyntaxError | |
| CommandNotImplemented | |
| BadSequence | |
| ParameterNotImplemented | |
| MailboxUnavailable | |
| UserNotLocal | |
| MessageTooLarge | |
| InvalidMailboxName | |
| TransactionFailed | |
◆ QxtSmtp()
| QxtSmtp::QxtSmtp |
( |
QObject * | parent = 0 | ) |
|
◆ authenticated
| void QxtSmtp::authenticated |
( |
| ) |
|
|
signal |
◆ authenticationFailed [1/2]
| void QxtSmtp::authenticationFailed |
( |
| ) |
|
|
signal |
◆ authenticationFailed [2/2]
| void QxtSmtp::authenticationFailed |
( |
const QByteArray & | msg | ) |
|
|
signal |
◆ connected
| void QxtSmtp::connected |
( |
| ) |
|
|
signal |
◆ connectionFailed [1/2]
| void QxtSmtp::connectionFailed |
( |
| ) |
|
|
signal |
◆ connectionFailed [2/2]
| void QxtSmtp::connectionFailed |
( |
const QByteArray & | msg | ) |
|
|
signal |
◆ connectToHost() [1/2]
| void QxtSmtp::connectToHost |
( |
const QHostAddress & | address, |
|
|
quint16 | port = 25 ) |
◆ connectToHost() [2/2]
| void QxtSmtp::connectToHost |
( |
const QString & | hostName, |
|
|
quint16 | port = 25 ) |
◆ connectToSecureHost() [1/2]
| void QxtSmtp::connectToSecureHost |
( |
const QHostAddress & | address, |
|
|
quint16 | port = 465 ) |
◆ connectToSecureHost() [2/2]
| void QxtSmtp::connectToSecureHost |
( |
const QString & | hostName, |
|
|
quint16 | port = 465 ) |
◆ disconnected
| void QxtSmtp::disconnected |
( |
| ) |
|
|
signal |
◆ disconnectFromHost()
| void QxtSmtp::disconnectFromHost |
( |
| ) |
|
◆ encrypted
| void QxtSmtp::encrypted |
( |
| ) |
|
|
signal |
◆ encryptionFailed [1/2]
| void QxtSmtp::encryptionFailed |
( |
| ) |
|
|
signal |
◆ encryptionFailed [2/2]
| void QxtSmtp::encryptionFailed |
( |
const QByteArray & | msg | ) |
|
|
signal |
◆ extensionData()
| QString QxtSmtp::extensionData |
( |
const QString & | extension | ) |
|
◆ finished
| void QxtSmtp::finished |
( |
| ) |
|
|
signal |
◆ hasExtension()
| bool QxtSmtp::hasExtension |
( |
const QString & | extension | ) |
|
◆ mailFailed [1/2]
| void QxtSmtp::mailFailed |
( |
int | mailID, |
|
|
int | errorCode ) |
|
signal |
◆ mailFailed [2/2]
| void QxtSmtp::mailFailed |
( |
int | mailID, |
|
|
int | errorCode, |
|
|
const QByteArray & | msg ) |
|
signal |
◆ mailSent
| void QxtSmtp::mailSent |
( |
int | mailID | ) |
|
|
signal |
◆ password()
| QByteArray QxtSmtp::password |
( |
| ) |
const |
◆ pendingMessages()
| int QxtSmtp::pendingMessages |
( |
| ) |
const |
◆ recipientRejected [1/2]
| void QxtSmtp::recipientRejected |
( |
int | mailID, |
|
|
const QString & | address ) |
|
signal |
◆ recipientRejected [2/2]
| void QxtSmtp::recipientRejected |
( |
int | mailID, |
|
|
const QString & | address, |
|
|
const QByteArray & | msg ) |
|
signal |
◆ send()
◆ senderRejected [1/2]
| void QxtSmtp::senderRejected |
( |
int | mailID, |
|
|
const QString & | address ) |
|
signal |
◆ senderRejected [2/2]
| void QxtSmtp::senderRejected |
( |
int | mailID, |
|
|
const QString & | address, |
|
|
const QByteArray & | msg ) |
|
signal |
◆ setPassword()
| void QxtSmtp::setPassword |
( |
const QByteArray & | password | ) |
|
◆ setStartTlsDisabled()
| void QxtSmtp::setStartTlsDisabled |
( |
bool | disable | ) |
|
◆ setUsername()
| void QxtSmtp::setUsername |
( |
const QByteArray & | name | ) |
|
◆ socket()
| QTcpSocket * QxtSmtp::socket |
( |
| ) |
const |
◆ sslSocket()
| QSslSocket * QxtSmtp::sslSocket |
( |
| ) |
const |
◆ startTlsDisabled()
| bool QxtSmtp::startTlsDisabled |
( |
| ) |
const |
◆ username()
| QByteArray QxtSmtp::username |
( |
| ) |
const |
The documentation for this class was generated from the following files: