email

package module
v0.0.0-...-22a6399 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendEmail

func SendEmail(subject string, body string, emailUser string, emailPassword string, emailServer string,
	emailPort string, emailTo string, emailFrom string)

Send an e-mail using the configuration to obtain login details, recipient, etc. @param subject - The subject for the e-mail @param body - The body of the e-mail @param emailUser - The user to use for login to the SMTP server @param emailPassword - The password to use for login to the SMTP server @param emailServer - The SMTP server to use for sending e-mail @param emailPort - The port for the SMTP server @param emailTo - The recipient @param emailFrom - The originator of the e-mail

Types

This section is empty.

Jump to

Keyboard shortcuts

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