![]() |
MantisBase v0.4.9
|
#include <email.h>
Public Member Functions | |
| bool | isValid () const |
| bool | isMock () const |
Static Public Member Functions | |
| static MbSmtpConfig | fromJson (const json &smtp) |
Public Attributes | |
| std::string | host |
| int | port = 587 |
| std::string | user |
| std::string | password |
| std::string | from_address |
| bool | use_tls = true |
Outbound SMTP settings. use_tls on port 465 opens an implicit TLS connection. Any other port with use_tls negotiates STARTTLS. With use_tls false the session stays in cleartext.
|
staticnodiscard |
|
nodiscard |
|
nodiscard |
| std::string mb::MbSmtpConfig::from_address |
| std::string mb::MbSmtpConfig::host |
| std::string mb::MbSmtpConfig::password |
| int mb::MbSmtpConfig::port = 587 |
| bool mb::MbSmtpConfig::use_tls = true |
| std::string mb::MbSmtpConfig::user |