class Poco::Net::MailInputStream

Overview

This class is used for reading E-Mail messages from a POP3 server. More…

#include <MailStream.h>

class MailInputStream:
    public Poco::Net::MailIOS,
    public istream
{
public:
    // construction

    MailInputStream(std::istream& istr);
};

Inherited Members

public:
    // methods

    void
    close();

    MailStreamBuf*
    rdbuf();

protected:
    // fields

    MailStreamBuf _buf;

Detailed Documentation

This class is used for reading E-Mail messages from a POP3 server.

All occurrences of “rn..rn” are replaced with “rn.rn”. The first occurrence of “rn.rn” denotes the end of the stream.

Construction

MailInputStream(std::istream& istr)

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