#include </home/clem/local/src/opie/noncore/net/mail/libmailwrapper/smtpwrapper.h>
Inheritance diagram for SMTPwrapper:


Signals | |
| void | queuedMails (int) |
Public Member Functions | |
| SMTPwrapper (SMTPaccount *aSmtp) | |
| virtual | ~SMTPwrapper () |
| void | sendMail (const Opie::Core::OSmartPointer< Mail > &mail, bool later=false) |
| bool | flushOutbox () |
Static Public Attributes | |
| static progressMailSend * | sendProgress = 0 |
Protected Slots | |
| void | emitQCop (int queued) |
Protected Member Functions | |
| void | connect_server () |
| void | disc_server () |
| int | start_smtp_tls () |
| void | smtpSend (mailmime *mail, bool later) |
| int | smtpSend (char *from, clist *rcpts, const char *data, size_t size) |
| void | storeMail (mailmime *mail, const QString &box) |
| int | sendQueuedMail (AbstractMail *wrap, const Opie::Core::OSmartPointer< RecMail > &which) |
| void | storeFailedMail (const char *data, unsigned int size, const char *failuremessage) |
Static Protected Member Functions | |
| static void | storeMail (const char *mail, size_t length, const QString &box) |
| static QString | mailsmtpError (int err) |
| static void | progress (size_t current, size_t maximum) |
Protected Attributes | |
| mailsmtp * | m_smtp |
| SMTPaccount * | m_SmtpAccount |
| int | m_queuedMail |
|
|
Definition at line 20 of file smtpwrapper.cpp. References emitQCop(), m_queuedMail, m_smtp, m_SmtpAccount, queuedMails(), Config::readNumEntry(), and Config::setGroup(). |
|
|
Definition at line 32 of file smtpwrapper.cpp. References disc_server(). |
|
|
Definition at line 180 of file smtpwrapper.cpp. References Account::ConnectionType(), SMTPaccount::getLogin(), LoginDialog::getPassword(), Account::getPassword(), Account::getPort(), Account::getServer(), LoginDialog::getUser(), Account::getUser(), m_smtp, m_SmtpAccount, mailsmtpError(), NULL, odebug, oendl, progress(), server, start_smtp_tls(), tr, and true. Referenced by smtpSend(). |
|
|
Definition at line 281 of file smtpwrapper.cpp. References m_smtp. Referenced by ~SMTPwrapper(). |
|
|
Definition at line 37 of file smtpwrapper.cpp. Referenced by SMTPwrapper(). |
|
|
|
Definition at line 42 of file smtpwrapper.cpp. References tr. Referenced by connect_server(), and smtpSend(). |
|
||||||||||||
|
Definition at line 86 of file smtpwrapper.cpp. References qApp, and progressMailSend::setSingleMail(). Referenced by connect_server(). |
|
|
Referenced by flushOutbox(), smtpSend(), and SMTPwrapper(). |
|
||||||||||||
|
Definition at line 317 of file smtpwrapper.cpp. References Generatemail::createMimeMail(), NULL, odebug, oendl, sendProgress, progressMailSend::setMaxMails(), and smtpSend(). Referenced by ComposeMail::accept(). |
|
||||||||||||
|
Referenced by flushOutbox(). |
|
||||||||||||||||||||
|
Definition at line 290 of file smtpwrapper.cpp. References connect_server(), m_smtp, mailsmtpError(), odebug, oendl, storeFailedMail(), storeMail(), and tr. |
|
||||||||||||
|
Definition at line 103 of file smtpwrapper.cpp. References Generatemail::createRcptList(), data, Generatemail::getFrom(), m_queuedMail, odebug, oendl, queuedMails(), Config::setGroup(), size, storeMail(), and Config::writeEntry(). Referenced by sendMail(). |
|
|
Definition at line 157 of file smtpwrapper.cpp. Referenced by connect_server(). |
|
||||||||||||||||
|
Definition at line 146 of file smtpwrapper.cpp. References storeMail(), and tr. Referenced by smtpSend(). |
|
||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 93 of file smtpwrapper.cpp. References AbstractMail::createMbox(), AbstractMail::defaultLocalfolder(), AbstractMail::getWrapper(), and AbstractMail::storeMessage(). Referenced by smtpSend(), and storeFailedMail(). |
|
|
Definition at line 56 of file smtpwrapper.h. Referenced by flushOutbox(), smtpSend(), and SMTPwrapper(). |
|
|
Definition at line 35 of file smtpwrapper.h. Referenced by connect_server(), disc_server(), smtpSend(), SMTPwrapper(), and start_smtp_tls(). |
|
|
Definition at line 36 of file smtpwrapper.h. Referenced by connect_server(), flushOutbox(), and SMTPwrapper(). |
|
|
Definition at line 18 of file smtpwrapper.cpp. Referenced by flushOutbox(), and sendMail(). |
1.4.2