Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added streaming to ImapMessage. #203

Closed
wants to merge 2 commits into from
Closed

Added streaming to ImapMessage. #203

wants to merge 2 commits into from

Conversation

daxxog
Copy link

@daxxog daxxog commented Apr 19, 2013

I added easy access to my imap-message-stream class.

Pipe example

//see https://github.com/mscdex/node-imap#example

fetch.on('message', function(msg) {
    fileStream = fs.createWriteStream('msg-' + msg.seqno + '-body.txt');
    msg.stream.pipe(fileStream);
});

@mscdex
Copy link
Owner

mscdex commented Jun 29, 2013

(streams2) Streams are now passed since the rewrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants