command
module
Version:
v1.4.3
Opens a new window with list of versions in this module.
Published: Jan 13, 2024
License: MIT-0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
MailHedgehog
Email previewer. Inspired by MailHog.
Allows to create multiple rooms with different credentials
Configuration and usage
MailHedgehog init
Usage
MailHedgehog serve [.mh-config.yml]
Development
go mod tidy
go mod verify
Example configuration:
#.mh-config.yml
smtp:
port: 1026
http:
port: 8026
# path: box
allow_origins: "http://localhost:5173"
# assets_root: "./public"
storage:
use: directory
config:
per_room_limit: 100
directory:
path: "/home/me/work/go/mailhog/_storage"
# use: mongodb
# # per_room_limit: 100
# mongodb:
# connection: mongodb
# collection: emails_dev
ui:
file: ui.json
authentication:
admin: testuser
# use: mongodb
# mongodb:
# connection: mongodb
# collection: users_dev
use: file
file:
path: ".mh-authfile"
sharing:
use: csv
csv:
path: ".mh-sharing.csv"
# dbConnectionMongo:
# connections:
# mongodb:
# uri: 127.0.0.1:27017
# db_name: mailhedgehog
# db_user: root
# db_pass: secret
Credits
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.