Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mailhound

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailhound - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

.env.example

2

package.json
{
"name": "mailhound",
"version": "2.1.0",
"version": "3.0.0",
"description": "Mailhound is a simple server side script for receiving form posts and emailing the form values.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -29,5 +29,13 @@ # mailhound

1. `export SMTP=smtp://postmaster:pass@smtp.server.com`
2. `export KEY:name@domain.com`
2. `export ADMIN=name@domain.com`
5. Reconnect to SSH and run the script `mailhound`
### Docker
Create the config file `.env` from `.env.example` with your environment variables
1. Run with docker-
* `docker run --env-file=<path to the config file .env> -p 8000:8000 chadfawcett/mailhound`
2. Run with docker compose-
* `docker-compose up`
## Usage

@@ -34,0 +42,0 @@

@@ -42,2 +42,10 @@ #!/usr/bin/env node

// Make sure the email message is not empty
if (!emailMessage) {
res.status(400).send({
error: 'Error, email message is empty'
});
return;
}
// Create string of _fields elements to add at end of message

@@ -44,0 +52,0 @@ if (emailMessage) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc