email

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailer

type Mailer struct {
	Host string
	Port int
	User string
	Pass string
	From string
}

func (*Mailer) Enabled

func (m *Mailer) Enabled() bool

func (*Mailer) SendCampaignFailed added in v1.2.0

func (m *Mailer) SendCampaignFailed(to, ownerName, campaignName string, failedCount int) error

func (*Mailer) SendCampaignPartial added in v1.2.0

func (m *Mailer) SendCampaignPartial(to, ownerName, campaignName string, completed, failed int) error

func (*Mailer) SendCampaignReady

func (m *Mailer) SendCampaignReady(to, ownerName, campaignName string, recipientCount int) error
func (m *Mailer) SendDownloadLink(to, recipientName, campaignName, downloadURL string) error

func (*Mailer) SendDownloadNotification

func (m *Mailer) SendDownloadNotification(to, ownerName, campaignName, recipientName, recipientEmail, downloadTime, ipAddress string) error

func (*Mailer) SendJobFailed added in v1.2.0

func (m *Mailer) SendJobFailed(to, ownerName, campaignName, recipientName, errorMsg string) error

func (*Mailer) SendPasswordReset

func (m *Mailer) SendPasswordReset(to, name, resetURL string) error

Jump to

Keyboard shortcuts

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