19 #include <QtCore/QString>
44 void setHost(
const QString& name);
49 AuthenticationMethod authenticationMethod()
const;
50 void setAuthenticationMethod(AuthenticationMethod method);
52 ConnectionSecurity connectionSecurity()
const;
53 void setConnectionSecurity(ConnectionSecurity connSecurity);
55 QString userName()
const;
56 void setUserName(
const QString& uname);
58 QString password()
const;
59 void setPassword(
const QString& pwd);
61 static AuthenticationMethod toAuthenticationMethod(
int id,
bool* ok = NULL);
62 static ConnectionSecurity toConnectionSecurity(
int id,
bool* ok = NULL);
67 AuthenticationMethod m_authMethod;
68 ConnectionSecurity m_connSecurity;
Definition: smtp_account.h:28
Definition: smtp_account.h:37
AuthenticationMethod
Definition: smtp_account.h:26
Definition: smtp_account.h:29
Definition: smtp_account.h:36
ConnectionSecurity
Definition: smtp_account.h:34
Definition: smtp_account.h:30
Provides a convenient interface to define the user account to connect to a SMTP server.
Definition: smtp_account.h:23
#define QTTOOLS_NETWORK_EXPORT
Definition: network.h:27
Definition: mail_send.cpp:39