email

package
v0.0.0-...-7538a8c Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailConfig

type EmailConfig struct {
	// contains filtered or unexported fields
}

func InitConfig

func InitConfig(mailPort int, mailHost, mailSender, username, password, mailTrap string, logger logger.Logger, tlsStatus bool, env environtmentEnums.Environment) EmailConfig

func (EmailConfig) SendMail

func (cfg EmailConfig) SendMail(payload SendMail) error

type SendMail

type SendMail struct {
	Subject string
	Content string
	From    string
	To      []string
	Cc      []string
	Bcc     []string
}

Jump to

Keyboard shortcuts

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