mailtrap-client
Wrapper around Mailtrap api for javascript. Added polling for messages as rxjs observer.
Installation
npm add mailtrap-client
or
yarn add mailtrap-client
Package contains typescript definitions so there is no need to install extra @types
package.
Usage
Example:
;// or// const {MailtrapClient} = require('mailtrap-client'); ;;
Mailtrap client contains almost same structure as mailtrap api described in docs.
Valid client properties |
---|
user |
companies |
inboxes |
sharedInboxes |
messages |
corsDomains |