services

package
v0.0.0-...-4ec3a92 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(email *EmailService) smtp.Auth

Auth get the authentication for each batch to avoid having too many logins

func SendMail

func SendMail(i int, email *EmailService, auth smtp.Auth, wg *sync.WaitGroup)

SendMail initiates sending of the email

Types

type EmailService

type EmailService struct {
	Host       string
	Port       string
	User       string
	Password   string
	From       string
	Subjects   []string
	Messages   []string
	Recipients []string
	Status     []bool
}

EmailService struct

Jump to

Keyboard shortcuts

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