mailmon

command module
v0.0.0-...-9957194 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2021 License: GPL-3.0 Imports: 15 Imported by: 0

README

Mailmon

MailMon is a Mass Emailer with a Vue Frontend and a Go Backend(Gin) and uses Gmail's SMTP to send emails to groups of People.

Mailmon is made and currently used for a sending emails to all students in My class and for educational purposes.

Using it

Since sending emails to many people take quite some time and server's power to compute. It's better that you use it locally.

  • Clone the Project
Frontend
  • $ cd frontend

  • Use Yarn or Npm to install the dependencies

$ yarn install
# OR
$ npm install
  • Build the Files
$ yarn build
#OR
$ npm run build

This command will generate static(HTML,CSS and JS) files which will be used by the server to show the webpage like below

Server
  • Install Go and do the setup
  • run go mod download to download the dependencies
  • Run the server
$ go run main.go # to run the server
# OR
$ go build main.go # generates static binary
$ ./main # Execute the binary

A server will start at port 8080. The / endpoint will show our frontend.

SMTP
  • Create a .env file with details like this
USERNAME=<your_email>
PASSWORD=<your_email_password>

Frontend Image

Contributing

Possibly I'll rewrite the backend to Go to try the speed. Yeah and I'm accepting PRs and Issues. Feel free to open One😄

TODO

  • [] Email Templates to improve visibility

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL