chesgomailings

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: MIT Imports: 1 Imported by: 0

README

PKG mailing - chesgomailing

INSTALL
go get github.com/Leonardo-Antonio/chesgomailings
USE

Example

package main

import "github.com/Leonardo-Antonio/chesgomailings/chesgomailing"

func main() {
	config := chesgomailing.Config{
        From: "example@test.com", Password: "abcdefgbigk", 
        Host: "smtp.gmail.com", Port: "587",
    }
	chesgomailing.Send(&config, chesgomailing.DataToSend{
		Format:  chesgomailing.TYPE_HTML,
		Subject: "HOLA",
		Body:    "<h1>HOLA</h1>",
		To:      []string{"test01@test.com", "test02.nl8@test.com"},
	})
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL