gomail

command
v0.0.0-...-498cede Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2021 License: MIT Imports: 3 Imported by: 0

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 = "from@gmail.com"
const password = "pass"

// To Addresses
var toAdd = "to@gmail.com"
}

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