Piles
home
docs
piles
GitHub
SimpleSmtp Pile
version 0.0.1
SimpleSmtp pile.
Main Page
Classes
Files
File List
File Members
simplesmtp.h
Go to the documentation of this file.
1
10
#ifndef GUARD_SIMPLESMTP_H_INCLUDE
11
#define GUARD_SIMPLESMTP_H_INCLUDE
12
13
#include <simplesmtp/simplesmtp-config.h>
14
#include <usermsg/usermsg.h>
15
16
#include <QStringList>
17
19
class
SIMPLESMTP_EXPORT
SimpleSmtp
{
20
21
public
:
22
23
bool
init (
24
const
QString &user,
25
const
QString &pass,
26
const
QString &host,
27
int
port,
28
int
timeout);
29
30
void
end ();
31
32
bool
send_mail (
33
UserMsg & um,
34
const
QString &to,
35
const
QString &subject,
36
const
QString &body,
37
bool
body_is_html,
38
const
QStringList & files = QStringList());
39
};
40
41
#endif // GUARD_SIMPLESMTP_H_INCLUDE
SimpleSmtp
brief description
Definition:
simplesmtp.h:19