E-MailRelay

Public Member Functions | Public Attributes | List of all members
GSmtp::ServerProtocol::Config Struct Reference

A configuration structure for GSmtp::ServerProtocol. More...

`#include <gsmtpserverprotocol.h>`

Collaboration diagram for GSmtp::ServerProtocol::Config:
[legend]

## Public Member Functions
Config & | set_mail_requires_authentication (bool=true) noexcept
Config & | set_mail_requires_encryption (bool=true) noexcept
Config & | set_with_vrfy (bool=true) noexcept
Config & | set_with_chunking (bool=true) noexcept
Config & | set_with_pipelining (bool=true) noexcept
Config & | set_with_smtputf8 (bool=true) noexcept
Config & | set_parser_config (const ServerParser::Config &)
Config & | set_smtputf8_strict (bool=true) noexcept
Config & | set_max_size (std::size_t) noexcept
Config & | set_tls_starttls (bool=true) noexcept
Config & | set_tls_connection (bool=true) noexcept
Config & | set_shutdown_how_on_quit (int) noexcept
Config & | set_client_error_limit (unsigned int) noexcept
Config & | set_sasl_server_config (const std::string &)
Config & | set_sasl_server_challenge_hostname (const std::string &)

## Public Attributes
bool | mail_requires_authentication {false}
bool | mail_requires_encryption {false}
bool | with_vrfy {false}
bool | with_chunking {true}
bool | with_pipelining {true}
bool | with_smtputf8 {false}
ServerParser::Config | parser_config
bool | smtputf8_strict {false}
bool | tls_starttls {false}
bool | tls_connection {false}
int | shutdown_how_on_quit {1}
unsigned int | client_error_limit {8U}
std::size_t | max_size {0U}
std::string | sasl_server_config
std::string | sasl_server_challenge_hostname

## Detailed Description

A configuration structure for GSmtp::ServerProtocol.

Definition at line 103 of file gsmtpserverprotocol.h.

## Member Function Documentation

## ◆ set_client_error_limit()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_client_error_limit | ( | unsigned int | n | ) |
| inline noexcept

Definition at line 393 of file gsmtpserverprotocol.h.

## ◆ set_mail_requires_authentication()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_mail_requires_authentication | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 385 of file gsmtpserverprotocol.h.

## ◆ set_mail_requires_encryption()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_mail_requires_encryption | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 386 of file gsmtpserverprotocol.h.

## ◆ set_max_size()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_max_size | ( | std::size_t | n | ) |
| inline noexcept

Definition at line 384 of file gsmtpserverprotocol.h.

## ◆ set_parser_config()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_parser_config | ( | const ServerParser::Config & | c | ) |
| inline

Definition at line 391 of file gsmtpserverprotocol.h.

## ◆ set_sasl_server_challenge_hostname()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_sasl_server_challenge_hostname | ( | const std::string & | s | ) |
| inline

Definition at line 396 of file gsmtpserverprotocol.h.

## ◆ set_sasl_server_config()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_sasl_server_config | ( | const std::string & | s | ) |
| inline

Definition at line 395 of file gsmtpserverprotocol.h.

## ◆ set_shutdown_how_on_quit()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_shutdown_how_on_quit | ( | int | i | ) |
| inline noexcept

Definition at line 392 of file gsmtpserverprotocol.h.

## ◆ set_smtputf8_strict()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_smtputf8_strict | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 394 of file gsmtpserverprotocol.h.

## ◆ set_tls_connection()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_tls_connection | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 388 of file gsmtpserverprotocol.h.

## ◆ set_tls_starttls()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_tls_starttls | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 387 of file gsmtpserverprotocol.h.

## ◆ set_with_chunking()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_with_chunking | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 383 of file gsmtpserverprotocol.h.

## ◆ set_with_pipelining()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_with_pipelining | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 389 of file gsmtpserverprotocol.h.

## ◆ set_with_smtputf8()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_with_smtputf8 | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 390 of file gsmtpserverprotocol.h.

## ◆ set_with_vrfy()

GSmtp::ServerProtocol::Config & GSmtp::ServerProtocol::Config::set_with_vrfy | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 382 of file gsmtpserverprotocol.h.

## Member Data Documentation

## ◆ client_error_limit

unsigned int GSmtp::ServerProtocol::Config::client_error_limit {8U}

Definition at line 118 of file gsmtpserverprotocol.h.

## ◆ mail_requires_authentication

bool GSmtp::ServerProtocol::Config::mail_requires_authentication {false}

Definition at line 105 of file gsmtpserverprotocol.h.

## ◆ mail_requires_encryption

bool GSmtp::ServerProtocol::Config::mail_requires_encryption {false}

Definition at line 106 of file gsmtpserverprotocol.h.

## ◆ max_size

std::size_t GSmtp::ServerProtocol::Config::max_size {0U}

Definition at line 119 of file gsmtpserverprotocol.h.

## ◆ parser_config

ServerParser::Config GSmtp::ServerProtocol::Config::parser_config

Definition at line 112 of file gsmtpserverprotocol.h.

## ◆ sasl_server_challenge_hostname

std::string GSmtp::ServerProtocol::Config::sasl_server_challenge_hostname

Definition at line 121 of file gsmtpserverprotocol.h.

## ◆ sasl_server_config

std::string GSmtp::ServerProtocol::Config::sasl_server_config

Definition at line 120 of file gsmtpserverprotocol.h.

## ◆ shutdown_how_on_quit

int GSmtp::ServerProtocol::Config::shutdown_how_on_quit {1}

Definition at line 117 of file gsmtpserverprotocol.h.

## ◆ smtputf8_strict

bool GSmtp::ServerProtocol::Config::smtputf8_strict {false}

Definition at line 113 of file gsmtpserverprotocol.h.

## ◆ tls_connection

bool GSmtp::ServerProtocol::Config::tls_connection {false}

Definition at line 116 of file gsmtpserverprotocol.h.

## ◆ tls_starttls

bool GSmtp::ServerProtocol::Config::tls_starttls {false}

Definition at line 115 of file gsmtpserverprotocol.h.

## ◆ with_chunking

bool GSmtp::ServerProtocol::Config::with_chunking {true}

Definition at line 109 of file gsmtpserverprotocol.h.

## ◆ with_pipelining

bool GSmtp::ServerProtocol::Config::with_pipelining {true}

Definition at line 110 of file gsmtpserverprotocol.h.

## ◆ with_smtputf8

bool GSmtp::ServerProtocol::Config::with_smtputf8 {false}

Definition at line 111 of file gsmtpserverprotocol.h.

## ◆ with_vrfy

bool GSmtp::ServerProtocol::Config::with_vrfy {false}

Definition at line 108 of file gsmtpserverprotocol.h.

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

- /tmp/slackdce/slackrepo.HKsbdz/build_emailrelay/emailrelay-2.6/src/gsmtp/gsmtpserverprotocol.h
- /tmp/slackdce/slackrepo.HKsbdz/build_emailrelay/emailrelay-2.6/src/gsmtp/gsmtpserverprotocol.cpp