This project is not actively being maintained. If you're sending emails on a node.js-esque platform, please use Andris Reinman's nodemailer. It is actively supported, more widely used and maintained offers more possibilities for sending mails than this project.
Background: This project was created because there was no option of using SMTP in a browser environment. This use case has been eliminated since Chrome Apps reached end of life and Firefox OS was scrapped. If you're on an electron-based platform, please use the capabilities that come with a full fledged node.js backend.
If you still feel this project has merit and you would like to be a maintainer, please reach out to me.
Tunnels tcp connections to socketio without TLS termination. Browsers do not support raw TCP sockets, hence this library allows you to attach a proxy, which accepts any incoming socket.io
connection and opens a corresponding tcp socket. To be used in conjunction with emailjs-tcp-socket
import attachProxy from 'emailjs-tcp-proxy'
import express from 'express'
import { Server } from 'http'
const server = Server(express())
server.listen(12345, () => {
attachProxy(server)
})
git clone git@github.com:emailjs/emailjs-tcp-proxy.git
cd emailjs-tcp-proxy
PROXY_PORT=1234 npm start