1.4.0 • Published 6 years ago

test-inbox v1.4.0

Weekly downloads
51
License
MIT
Repository
-
Last release
6 years ago

test-inbox

This is an IMAP client module for get confirm, reset and other messages from your inbox in your test scenarios.

Usage

import TestInbox from 'test-inbox';

const client = new TestInbox({
  host: process.env.TEST_EMAIL_HOST,
  user: process.env.TEST_EMAIL_USER,
  password: process.env.TEST_EMAIL_PASSWORD,
});

await client.connect();

const message = await client.findOne({
  to: 'test-inbox+12345678@yandex.ru',
  subject: 'Foo'
}, { timeout: 60000 });
1.4.0

6 years ago

1.3.0

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.1

6 years ago

1.2.0

7 years ago

1.1.4

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago