|
SimpleSmtp Pile
version 0.0.1
SimpleSmtp pile.
|
send an email using an smtp server More...
#include <smtp.h>
Inheritance diagram for Smtp:Public Types | |
| enum | states { Tls, HandShake, Auth, User, Pass, Rcpt, Mail, Data, Init, Body, Quit, Close } |
| the states that we can have | |
Signals | |
| void | status (const QString &) |
| the user can get notifications of the progress | |
Public Member Functions | |
| Smtp (const QString &user, const QString &pass, const QString &host, int port=465, int timeout=30000) | |
| constructor | |
| Smtp (const Smtp &other) | |
| constructor | |
| virtual | ~Smtp () |
| destructor | |
| bool | sendMail (UserMsg &um, const QString &to, const QString &subject, const QString &body, bool body_is_html=false, QStringList files=QStringList()) |
| send the mail | |
send an email using an smtp server