KIO
Go to the documentation of this file.
22 #include <QtCore/QObject>
23 #include <QtCore/QTimer>
24 #include <QtNetwork/QTcpSocket>
51 #define DEFAULT_SMTP_PORT 25
52 #define DEFAULT_SMTP_SERVER localhost
53 #define DEFAULT_SMTP_TIMEOUT 60
55 #define SMTP_READ_BUFFER_SIZE 256
61 explicit SMTP(
char *serverhost = 0,
unsigned short int port = 0,
66 void setPort(
unsigned short int port);
136 unsigned short int hostPort;
142 QString senderAddress;
143 QString recipientAddress;
144 QString messageSubject;
145 QString messageBody, messageHeader;
156 QTimer interactTimer;
void setMessageBody(const QString &message)
void setServerHost(const QString &serverhost)
void setRecipientAddress(const QString &recipient)
void setMessageSubject(const QString &subject)
void processLine(QString *line)
void setPort(unsigned short int port)
SMTP(char *serverhost=0, unsigned short int port=0, int timeout=DEFAULT_SMTP_TIMEOUT)
#define DEFAULT_SMTP_TIMEOUT
#define SMTP_READ_BUFFER_SIZE
void setMessageHeader(const QString &header)
void setTimeOut(int timeout)
void setSenderAddress(const QString &sender)
void socketError(QAbstractSocket::SocketError)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.