Skip to content

Golang automation server email sending with Send Grid library

License

Notifications You must be signed in to change notification settings

cicacode/go-mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!