smtpservice

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package smtpservice provides SMTP email service implementation.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSMTPConfigMissing = errors.New("smtp login,password and server are mandatory")
	ErrSMTPServerFormat  = errors.New("smtp server format should be: host:port")
)

Static errors for wrapping.

Functions

func NewSMTPService added in v0.6.2

func NewSMTPService(smtplogin string, smtpPassword string, smtpServer string,
	tls bool) (mailservice.MailSender, error)

NewSMTPService creates a new SMTP service instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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