class Poco::Net::MailOutputStream

Overview

This class is used for writing E-Mail messages to a SMTP server. More…

#include <MailStream.h>

class MailOutputStream:
    public Poco::Net::MailIOS,
    public ostream
{
public:
    // construction

    MailOutputStream(std::ostream& ostr);
};

Inherited Members

public:
    // methods

    void
    close();

    MailStreamBuf*
    rdbuf();

protected:
    // fields

    MailStreamBuf _buf;

Detailed Documentation

This class is used for writing E-Mail messages to a SMTP server.

All occurrences of “rn.rn” are replaced with “rn..rn”.

Construction

MailOutputStream(std::ostream& ostr)

Creates the MailOutputStream and connects it to the given input stream.