Skip to content
/ smtp Public

SMTP microservice for mail delivery. Based on micro microservices toolkit platform https://github.com/micro

License

Notifications You must be signed in to change notification settings

Rakanixu/smtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMTP License Go Report Card

SMTP microservice and API for email delivery.

Getting Started

Prerequisites

Get Micro Micro

go get github.com/micro

Install Consul https://www.consul.io/intro/getting-started/install.html

Run Consul

$ consul agent -dev -advertise=127.0.0.1

Run Service manually

go run srv/main.go --email_host=SERVER_ADDRESS --email_host_port=SMPT_SERVER_PORT --email_host_user=USERNAME --email_host_password=PASSWORD --default_from_email=noreply@company.com

Run API manually

$ go run api/main.go

Run docker containers

Flags have to be passed around, you will want to edit YML file with your SMTP server details.

Compile Go binaries and build docker image.

make 

Run docker container:

docker-compose -f docker-compose-build.yml up

Usage

API

Microservice

About

SMTP microservice for mail delivery. Based on micro microservices toolkit platform https://github.com/micro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published