email

package
v0.0.0-...-f07dfbc Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSMTPConfiguration

func InitSMTPConfiguration(server, sender, user, smtpIdentity, smtpPassword, logo string) error

InitSMTPConfiguration initializes the SMTP configuration from the smtp.* parameters

func Send

func Send(options SendOptions) error

Send sends the email

Types

type SendOptions

type SendOptions struct {
	To      []mail.Address
	ToCc    []mail.Address
	Subject string
	Body    hermes.Email
	Intros  []string
}

SendOptions are options for sending an email

Jump to

Keyboard shortcuts

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