21#ifndef G_SMTP_ENVELOPE_H
22#define G_SMTP_ENVELOPE_H
41 G_EXCEPTION( ReadError ,
"cannot read envelope file" ) ;
49 static std::size_t
write( std::ostream & ,
const Envelope & ) ;
55 static void copy( std::istream & , std::ostream & ) ;
67 std::string m_authentication ;
68 std::string m_client_socket_address ;
69 std::string m_client_certificate ;
70 std::string m_from_auth_in ;
71 std::string m_from_auth_out ;
72 std::size_t m_endpos{0U} ;
A structure containing the contents of an envelope file, with support for file reading,...
static void read(std::istream &, Envelope &)
Reads an envelope from a stream.
static std::size_t write(std::ostream &, const Envelope &)
Writes an envelope to a stream.
static void copy(std::istream &, std::ostream &)
A convenience function to copy lines from an input stream to an output stream.
SMTP and message-store classes.
std::vector< std::string > StringArray
A std::vector of std::strings.