smtp

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: 2 Imported by: 0

README

SMTP

SMTP will send you a mail with Content-Type: text/plain.

Pre Request

Please enable less secure app access from your account

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 = []string{
	"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