Struct UserInfo

Struct Documentation

struct UserInfo

Info for a user.

Public Functions

inline UserInfo(const std::string &host_smtp_, const std::string &host_imap_, const std::string &username_, const std::string &password_)

Constructor.

UserInfo(const UserInfo&) = default

Copy constructor.

Public Members

std::string host_smtp

SMTP host, without the port or protocol.

std::string host_imap

IMAP host, without the port or protocol.

std::string username

Username (i.e. email).

std::string password

Password.