/go-mailer

Golang automation server email sending with Send Grid library

Primary LanguageGoMIT LicenseMIT

Golang Email Notification

Build Status

Email Notification use net/http

How to execute ?

  • Make sure the go language driver is installed in your locale
  • If not already you can click below Go Language
  • You can use any text editor what you like to use
  • After you installing the go, you can clone this repository
  • before clone this repo, firstly create folder github.com/ in src folder, and then you can git clone at github.com folder.

You need : Library of Logrus for logging handler or you can use log at go library :

    go get https://github.com/sirupsen/logrus

After Clone Repository

    cd github.com/email-notification-go
  • after that you can change the token with yours

  • and change the mail sender too

  • and you can modify in your local

  • and then run the main.go

      go run main.go
    

Installation

Install the dependencies and devDependencies and start the server.

$ cd github.com/email-notification-go
$ go get https://github.com/sirupsen/logrus
$ go run main.go

MIT

Free Software, Hell Yeah!