MailSender Class Reference
#include <mailsender.h>
List of all members.
|
Public Types |
| enum | Priority { high,
normal,
low
} |
| enum | ContentType { text,
html,
multipartmixed
} |
| enum | Encoding { _7bit,
_8bit,
base64
} |
| enum | ISO { utf8,
iso88591
} |
Public Member Functions |
| | MailSender (const QString &smtpServer, const QString &from, const QStringList &to, const QString &subject, const QString &body) |
| | ~MailSender () |
| bool | send () |
| QString | lastError () |
| QString | lastCmd () |
| QString | lastResponse () |
| QString | lastMailData () |
| void | setSmtpServer (const QString &smtpServer) |
| void | setPort (int port) |
| void | setTimeout (int timeout) |
| void | setLogin (const QString &login, const QString &passwd) |
| void | setSsl (bool ssl) |
| void | setCc (const QStringList &cc) |
| void | setBcc (const QStringList &bcc) |
| void | setAttachments (const QStringList &attachments) |
| void | setReplyTo (const QString &replyTo) |
| void | setPriority (Priority priority) |
| void | setFrom (const QString &from) |
| void | setTo (const QStringList &to) |
| void | setSubject (const QString &subject) |
| void | setBody (const QString &body) |
| void | setFromName (const QString &fromName) |
| void | setContentType (ContentType contentType) |
| void | setISO (ISO iso) |
| void | setEncoding (Encoding encoding) |
| void | setProxyAuthenticator (const QAuthenticator &authenticator) |
Detailed Description
Definition at line 14 of file mailsender.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
| MailSender::MailSender |
( |
const QString & |
smtpServer, |
|
|
const QString & |
from, |
|
|
const QStringList & |
to, |
|
|
const QString & |
subject, |
|
|
const QString & |
body | |
|
) |
| | |
| MailSender::~MailSender |
( |
|
) |
|
Member Function Documentation
| QString MailSender::lastCmd |
( |
|
) |
[inline] |
| QString MailSender::lastError |
( |
|
) |
[inline] |
| QString MailSender::lastMailData |
( |
|
) |
[inline] |
| QString MailSender::lastResponse |
( |
|
) |
[inline] |
| bool MailSender::send |
( |
|
) |
|
| void MailSender::setAttachments |
( |
const QStringList & |
attachments |
) |
[inline] |
| void MailSender::setBcc |
( |
const QStringList & |
bcc |
) |
[inline] |
| void MailSender::setBody |
( |
const QString & |
body |
) |
[inline] |
| void MailSender::setCc |
( |
const QStringList & |
cc |
) |
[inline] |
| void MailSender::setContentType |
( |
ContentType |
contentType |
) |
[inline] |
| void MailSender::setEncoding |
( |
Encoding |
encoding |
) |
|
| void MailSender::setFrom |
( |
const QString & |
from |
) |
|
| void MailSender::setFromName |
( |
const QString & |
fromName |
) |
[inline] |
| void MailSender::setISO |
( |
ISO |
iso |
) |
|
| void MailSender::setLogin |
( |
const QString & |
login, |
|
|
const QString & |
passwd | |
|
) |
| | [inline] |
| void MailSender::setPort |
( |
int |
port |
) |
[inline] |
| void MailSender::setPriority |
( |
Priority |
priority |
) |
[inline] |
| void MailSender::setProxyAuthenticator |
( |
const QAuthenticator & |
authenticator |
) |
|
| void MailSender::setReplyTo |
( |
const QString & |
replyTo |
) |
[inline] |
| void MailSender::setSmtpServer |
( |
const QString & |
smtpServer |
) |
[inline] |
| void MailSender::setSsl |
( |
bool |
ssl |
) |
[inline] |
| void MailSender::setSubject |
( |
const QString & |
subject |
) |
[inline] |
| void MailSender::setTimeout |
( |
int |
timeout |
) |
[inline] |
| void MailSender::setTo |
( |
const QStringList & |
to |
) |
[inline] |
The documentation for this class was generated from the following files: