Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
QxtSmtpPrivate Class Reference

#include <qxtsmtp_p.h>

Inheritance diagram for QxtSmtpPrivate:
[legend]
Collaboration diagram for QxtSmtpPrivate:
[legend]

Public Types

enum  SmtpState {
  Disconnected , StartState , EhloSent , EhloGreetReceived ,
  EhloExtensionsReceived , EhloDone , HeloSent , StartTLSSent ,
  AuthRequestSent , AuthUsernameSent , AuthSent , Authenticated ,
  MailToSent , RcptAckPending , SendingBody , BodySent ,
  Waiting , Resetting
}
enum  AuthType { AuthPlain , AuthLogin , AuthCramMD5 }

Public Slots

void socketError (QAbstractSocket::SocketError err)
void socketRead ()
void ehlo ()
void sendNext ()

Public Member Functions

 QxtSmtpPrivate ()
void parseEhlo (const QByteArray &code, bool cont, const QString &line)
void startTLS ()
void authenticate ()
void authCramMD5 (const QByteArray &challenge=QByteArray())
void authPlain ()
void authLogin ()
void sendNextRcpt (const QByteArray &code, const QByteArray &line)
void sendBody (const QByteArray &code, const QByteArray &line)
Public Member Functions inherited from QxtPrivate< QxtSmtp >
virtual ~QxtPrivate ()
void QXT_setPublic (QxtSmtp *pub)

Public Attributes

bool useSecure
bool disableStartTLS
SmtpState state
AuthType authType
QByteArray buffer
QByteArray username
QByteArray password
QHash< QString, QString > extensions
QList< QPair< int, QxtMailMessage > > pending
QStringList recipients
int nextID
int rcptNumber
int rcptAck
bool mailAck
QSslSocket * socket

Additional Inherited Members

Protected Member Functions inherited from QxtPrivate< QxtSmtp >
QxtSmtpqxt_p ()

Member Enumeration Documentation

◆ AuthType

Enumerator
AuthPlain 
AuthLogin 
AuthCramMD5 

◆ SmtpState

Enumerator
Disconnected 
StartState 
EhloSent 
EhloGreetReceived 
EhloExtensionsReceived 
EhloDone 
HeloSent 
StartTLSSent 
AuthRequestSent 
AuthUsernameSent 
AuthSent 
Authenticated 
MailToSent 
RcptAckPending 
SendingBody 
BodySent 
Waiting 
Resetting 

Constructor & Destructor Documentation

◆ QxtSmtpPrivate()

QxtSmtpPrivate::QxtSmtpPrivate ( )

Member Function Documentation

◆ authCramMD5()

void QxtSmtpPrivate::authCramMD5 ( const QByteArray & challenge = QByteArray())
Here is the call graph for this function:
Here is the caller graph for this function:

◆ authenticate()

void QxtSmtpPrivate::authenticate ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ authLogin()

void QxtSmtpPrivate::authLogin ( )
Here is the caller graph for this function:

◆ authPlain()

void QxtSmtpPrivate::authPlain ( )
Here is the caller graph for this function:

◆ ehlo

void QxtSmtpPrivate::ehlo ( )
slot
Here is the caller graph for this function:

◆ parseEhlo()

void QxtSmtpPrivate::parseEhlo ( const QByteArray & code,
bool cont,
const QString & line )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendBody()

void QxtSmtpPrivate::sendBody ( const QByteArray & code,
const QByteArray & line )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendNext

void QxtSmtpPrivate::sendNext ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendNextRcpt()

void QxtSmtpPrivate::sendNextRcpt ( const QByteArray & code,
const QByteArray & line )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socketError

void QxtSmtpPrivate::socketError ( QAbstractSocket::SocketError err)
slot
Here is the call graph for this function:

◆ socketRead

void QxtSmtpPrivate::socketRead ( )
slot
Here is the call graph for this function:

◆ startTLS()

void QxtSmtpPrivate::startTLS ( )
Here is the caller graph for this function:

Member Data Documentation

◆ authType

AuthType QxtSmtpPrivate::authType

◆ buffer

QByteArray QxtSmtpPrivate::buffer

◆ disableStartTLS

bool QxtSmtpPrivate::disableStartTLS

◆ extensions

QHash<QString, QString> QxtSmtpPrivate::extensions

◆ mailAck

bool QxtSmtpPrivate::mailAck

◆ nextID

int QxtSmtpPrivate::nextID

◆ password

QByteArray QxtSmtpPrivate::password

◆ pending

QList<QPair<int, QxtMailMessage> > QxtSmtpPrivate::pending

◆ rcptAck

int QxtSmtpPrivate::rcptAck

◆ rcptNumber

int QxtSmtpPrivate::rcptNumber

◆ recipients

QStringList QxtSmtpPrivate::recipients

◆ socket

QSslSocket* QxtSmtpPrivate::socket

◆ state

SmtpState QxtSmtpPrivate::state

◆ username

QByteArray QxtSmtpPrivate::username

◆ useSecure

bool QxtSmtpPrivate::useSecure

The documentation for this class was generated from the following files: