smtp

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0, CC-BY-4.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMTP

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

SMTP is Simple Mail Transport Protocol used for sending emails.

func New

func New(k8sClient k8sclient.Client, config v1alpha2.Notification) *SMTP

New returns instance of SMTP.

func (SMTP) Send

func (s SMTP) Send(e event.Event) error

Send is function for sending notification by SMTP server.

Jump to

Keyboard shortcuts

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