package
0.0.0-20210418013023-498cede6354f
Repository: https://github.com/ajithkumar-raj/go-learn.git
Documentation: pkg.go.dev
# README
GOMAIL
Gomail will send you a mail with Content-Type: text/plain using gomail.
Pre Request
Please enable less secure app access from your account
Installation
Use the go get to install gomail.
go get gopkg.in/mail.v2
Config
Create a config.go with fromAdd, password, and toAdd
// const.go
package main
// Sender data.
const fromAdd = "[email protected]"
const password = "pass"
// To Addresses
var toAdd = "[email protected]"
}