E-MailRelay
|
A static class for SMTP command parsing, used by GSmtp::ServerProtocol as a mix-in base. More...
#include <gsmtpserverparser.h>
Classes | |
struct | AddressCommand |
mail-from or rcpt-to More... | |
struct | Config |
A configuration structure for GSmtp::ServerParser. More... | |
Public Types | |
using | AddressStyle = GStore::MessageStore::AddressStyle |
Static Public Member Functions | |
static AddressCommand | parseMailFrom (std::string_view, const Config &) |
Parses a MAIL-FROM command. More... | |
static AddressCommand | parseRcptTo (std::string_view, const Config &) |
Parses a RCPT-TO command. More... | |
static std::pair< std::size_t, bool > | parseBdatSize (std::string_view) |
Parses a BDAT command. More... | |
static std::pair< bool, bool > | parseBdatLast (std::string_view) |
Parses a BDAT LAST command. More... | |
static std::string | parseHeloPeerName (const std::string &) |
Parses the peer name from an HELO/EHLO command. More... | |
static std::string | parseVrfy (const std::string &) |
Parses a VRFY command. More... | |
A static class for SMTP command parsing, used by GSmtp::ServerProtocol as a mix-in base.
See also RFC-5321 4.1.2.
Definition at line 40 of file gsmtpserverparser.h.
using GSmtp::ServerParser::AddressStyle = GStore::MessageStore::AddressStyle |
Definition at line 56 of file gsmtpserverparser.h.
|
static |
Parses a BDAT LAST command.
Definition at line 48 of file gsmtpserverparser.cpp.
|
static |
Parses a BDAT command.
Definition at line 32 of file gsmtpserverparser.cpp.
|
static |
Parses the peer name from an HELO/EHLO command.
Definition at line 292 of file gsmtpserverparser.cpp.
|
static |
Parses a MAIL-FROM command.
Definition at line 62 of file gsmtpserverparser.cpp.
|
static |
Parses a RCPT-TO command.
Definition at line 87 of file gsmtpserverparser.cpp.
|
static |
Parses a VRFY command.
Definition at line 270 of file gsmtpserverparser.cpp.