Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simple email server to handle yours domain emails easily

License

Notifications You must be signed in to change notification settings

ido-pluto/node-email-server

Repository files navigation

Node Email Server


Light weight email server for Node.js over HTTP(S) with REST API

Built as a solution for sending emails without any third party services or complex configurations.

Features

  • Send email over HTTP(S) with REST API
  • Light weight
  • Support multiple domains
  • Easy to use, no extra services required
  • CapRover support

Deploy using Docker

docker build -t node-email-server .
docker run -p 25:25 -p 80:4321 -v /path/to/store/db:/app/storage -e PASSWORD=myDashboardPassword node-email-server

REST API

const response = await fetch("https://email.my-domain.com/send", {
 method: 'POST',
 headers: {
 'Content-Type': 'application/json',
 },
 body: JSON.stringify({
 password: "myPassword",
 from: 'example@email.my-domain.com',
 to: 'send@example.com',
 html: '<b>Hello World</b>',
 }),
});
const fails = response.json();
if(fails.length === 0){
 console.log('Email sent');
} else {
 console.log('Error sending email');
}

About the project

  • Built using Node.js, Astro, and lowdb
  • SMTP server using smtp-server package
  • Server components using @astro-utils/forms package
  • UI components using rippleui package

Screenshots

Please Star the project if you like it

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /