Leosac  0.8.0
Open Source Access Control
Leosac::Module::SMTP::SMTPServerInfo Struct Reference

#include <SMTPConfig.hpp>

+ Collaboration diagram for Leosac::Module::SMTP::SMTPServerInfo:

Public Member Functions

 SMTPServerInfo ()
 
 SMTPServerInfo (const SMTPServerInfo &)=default
 

Public Attributes

std::string url
 
std::string from
 
std::string username
 
std::string password
 
int ms_timeout
 Timeout in millisecond for an operation against this server. More...
 
bool verify_host
 
bool verify_peer
 
std::string CA_info_file_
 
bool enabled
 Should this server be used to send email ? More...
 

Detailed Description

Definition at line 36 of file SMTPConfig.hpp.

Constructor & Destructor Documentation

◆ SMTPServerInfo() [1/2]

Leosac::Module::SMTP::SMTPServerInfo::SMTPServerInfo ( )
inline

Definition at line 38 of file SMTPConfig.hpp.

◆ SMTPServerInfo() [2/2]

Leosac::Module::SMTP::SMTPServerInfo::SMTPServerInfo ( const SMTPServerInfo )
default

Member Data Documentation

◆ CA_info_file_

std::string Leosac::Module::SMTP::SMTPServerInfo::CA_info_file_

Definition at line 59 of file SMTPConfig.hpp.

◆ enabled

bool Leosac::Module::SMTP::SMTPServerInfo::enabled

Should this server be used to send email ?

Definition at line 64 of file SMTPConfig.hpp.

◆ from

std::string Leosac::Module::SMTP::SMTPServerInfo::from

Definition at line 47 of file SMTPConfig.hpp.

◆ ms_timeout

int Leosac::Module::SMTP::SMTPServerInfo::ms_timeout

Timeout in millisecond for an operation against this server.

Defaults to 30s.

Definition at line 55 of file SMTPConfig.hpp.

◆ password

std::string Leosac::Module::SMTP::SMTPServerInfo::password

Definition at line 49 of file SMTPConfig.hpp.

◆ url

std::string Leosac::Module::SMTP::SMTPServerInfo::url

Definition at line 46 of file SMTPConfig.hpp.

◆ username

std::string Leosac::Module::SMTP::SMTPServerInfo::username

Definition at line 48 of file SMTPConfig.hpp.

◆ verify_host

bool Leosac::Module::SMTP::SMTPServerInfo::verify_host

Definition at line 57 of file SMTPConfig.hpp.

◆ verify_peer

bool Leosac::Module::SMTP::SMTPServerInfo::verify_peer

Definition at line 58 of file SMTPConfig.hpp.


The documentation for this struct was generated from the following file: