The sole purpose of this stream buffer is to replace a "\r\n.\r\n" character sequence with a "\r\n..\r\n" sequence for output streams and vice-versa for input streams.
This is used when sending mail messages to SMTP servers, or receiving mail messages from POP servers.
Direct Base Classes: Poco::UnbufferedStreamBuf
All Base Classes: Poco::UnbufferedStreamBuf
std::istream & istr
Creates the MailStreamBuf and connects it to the given input stream.
std::ostream & ostr
Creates the MailStreamBuf and connects it to the given output stream.
Destroys the MailStreamBuf.
Writes the terminating period, followed by CR-LF.