E-MailRelay

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

A structure containing GSmtp::ClientProtocol configuration parameters. More...

`#include <gsmtpclientprotocol.h>`

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

## Public Member Functions
Config & | set_ehlo (const std::string &)
Config & | set_response_timeout (unsigned int) noexcept
Config & | set_ready_timeout (unsigned int) noexcept
Config & | set_use_starttls_if_possible (bool=true) noexcept
Config & | set_must_use_tls (bool=true) noexcept
Config & | set_authentication_fallthrough (bool=true) noexcept
Config & | set_anonymous (bool=true) noexcept
Config & | set_must_accept_all_recipients (bool=true) noexcept
Config & | set_eightbit_strict (bool=true) noexcept
Config & | set_binarymime_strict (bool=true) noexcept
Config & | set_smtputf8_strict (bool=true) noexcept
Config & | set_pipelining (bool=true) noexcept
Config & | set_reply_size_limit (std::size_t) noexcept
Config & | set_crlf_only (bool=true) noexcept
Config & | set_try_reauthentication (bool=true) noexcept

## Public Attributes
std::string | ehlo
unsigned int | response_timeout {0U}
unsigned int | ready_timeout {0U}
bool | use_starttls_if_possible {false}
bool | must_use_tls {false}
bool | authentication_fallthrough {false}
bool | anonymous {false}
bool | must_accept_all_recipients {false}
bool | eightbit_strict {false}
bool | binarymime_strict {false}
bool | smtputf8_strict {false}
bool | pipelining {false}
std::size_t | reply_size_limit {G::Limits<>::net_buffer}
std::size_t | bdat_chunk_size {1000000}
bool | crlf_only {false}
bool | try_reauthentication {false}

## Detailed Description

A structure containing GSmtp::ClientProtocol configuration parameters.

Definition at line 77 of file gsmtpclientprotocol.h.

## Member Function Documentation

## ◆ set_anonymous()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_anonymous | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 302 of file gsmtpclientprotocol.h.

## ◆ set_authentication_fallthrough()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_authentication_fallthrough | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 301 of file gsmtpclientprotocol.h.

## ◆ set_binarymime_strict()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_binarymime_strict | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 305 of file gsmtpclientprotocol.h.

## ◆ set_crlf_only()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_crlf_only | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 309 of file gsmtpclientprotocol.h.

## ◆ set_ehlo()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_ehlo | ( | const std::string & | s | ) |
| inline

Definition at line 296 of file gsmtpclientprotocol.h.

## ◆ set_eightbit_strict()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_eightbit_strict | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 304 of file gsmtpclientprotocol.h.

## ◆ set_must_accept_all_recipients()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_must_accept_all_recipients | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 303 of file gsmtpclientprotocol.h.

## ◆ set_must_use_tls()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_must_use_tls | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 300 of file gsmtpclientprotocol.h.

## ◆ set_pipelining()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_pipelining | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 307 of file gsmtpclientprotocol.h.

## ◆ set_ready_timeout()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_ready_timeout | ( | unsigned int | t | ) |
| inline noexcept

Definition at line 298 of file gsmtpclientprotocol.h.

## ◆ set_reply_size_limit()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_reply_size_limit | ( | std::size_t | n | ) |
| inline noexcept

Definition at line 308 of file gsmtpclientprotocol.h.

## ◆ set_response_timeout()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_response_timeout | ( | unsigned int | t | ) |
| inline noexcept

Definition at line 297 of file gsmtpclientprotocol.h.

## ◆ set_smtputf8_strict()

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

Definition at line 306 of file gsmtpclientprotocol.h.

## ◆ set_try_reauthentication()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_try_reauthentication | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 310 of file gsmtpclientprotocol.h.

## ◆ set_use_starttls_if_possible()

GSmtp::ClientProtocol::Config & GSmtp::ClientProtocol::Config::set_use_starttls_if_possible | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 299 of file gsmtpclientprotocol.h.

## Member Data Documentation

## ◆ anonymous

bool GSmtp::ClientProtocol::Config::anonymous {false}

Definition at line 85 of file gsmtpclientprotocol.h.

## ◆ authentication_fallthrough

bool GSmtp::ClientProtocol::Config::authentication_fallthrough {false}

Definition at line 84 of file gsmtpclientprotocol.h.

## ◆ bdat_chunk_size

std::size_t GSmtp::ClientProtocol::Config::bdat_chunk_size {1000000}

Definition at line 92 of file gsmtpclientprotocol.h.

## ◆ binarymime_strict

bool GSmtp::ClientProtocol::Config::binarymime_strict {false}

Definition at line 88 of file gsmtpclientprotocol.h.

## ◆ crlf_only

bool GSmtp::ClientProtocol::Config::crlf_only {false}

Definition at line 93 of file gsmtpclientprotocol.h.

## ◆ ehlo

std::string GSmtp::ClientProtocol::Config::ehlo

Definition at line 79 of file gsmtpclientprotocol.h.

## ◆ eightbit_strict

bool GSmtp::ClientProtocol::Config::eightbit_strict {false}

Definition at line 87 of file gsmtpclientprotocol.h.

## ◆ must_accept_all_recipients

bool GSmtp::ClientProtocol::Config::must_accept_all_recipients {false}

Definition at line 86 of file gsmtpclientprotocol.h.

## ◆ must_use_tls

bool GSmtp::ClientProtocol::Config::must_use_tls {false}

Definition at line 83 of file gsmtpclientprotocol.h.

## ◆ pipelining

bool GSmtp::ClientProtocol::Config::pipelining {false}

Definition at line 90 of file gsmtpclientprotocol.h.

## ◆ ready_timeout

unsigned int GSmtp::ClientProtocol::Config::ready_timeout {0U}

Definition at line 81 of file gsmtpclientprotocol.h.

## ◆ reply_size_limit

std::size_t GSmtp::ClientProtocol::Config::reply_size_limit {G::Limits<>::net_buffer}

Definition at line 91 of file gsmtpclientprotocol.h.

## ◆ response_timeout

unsigned int GSmtp::ClientProtocol::Config::response_timeout {0U}

Definition at line 80 of file gsmtpclientprotocol.h.

## ◆ smtputf8_strict

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

Definition at line 89 of file gsmtpclientprotocol.h.

## ◆ try_reauthentication

bool GSmtp::ClientProtocol::Config::try_reauthentication {false}

Definition at line 94 of file gsmtpclientprotocol.h.

## ◆ use_starttls_if_possible

bool GSmtp::ClientProtocol::Config::use_starttls_if_possible {false}

Definition at line 82 of file gsmtpclientprotocol.h.

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

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