It is a Node.js application that listens for incoming emails via IMAP and resends them to VKontakte dialogs
- Works with any mail server which support IMAP
- Works with private and group VK dialogs
- Gets all unread emails by default (can be changed)
- Doesn't mark emails as seen by default (can be changed)
- Resending messages to VK every minute in case of fail
- Go to the root folder
- Fill the file
config.js
with proper parameters - Execute
npm install
to download dependencies - Execute
npm start
When checking mail fails (e.g., timeout, disconnection from server), script gracefully exits (until all messages from a queue are sent). To recover connection use forever module.
Contributions to the app welcome. If you've fixed a bug or implemented a cool new feature that you would like to share, please feel free to open a pull request here.