smtp_downstream

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Package smtp_downstream provides target.smtp module that implements transparent forwarding or messages to configured list of SMTP servers.

Like remote module, this implementation doesn't handle atomic delivery properly since it is impossible to do with SMTP protocol

Interfaces implemented: - module.DeliveryTarget

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDownstream

func NewDownstream(modName, instName string, _, inlineArgs []string) (module.Module, error)

Types

type Downstream

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

func (*Downstream) Init

func (u *Downstream) Init(cfg *config.Map) error

func (*Downstream) InstanceName

func (u *Downstream) InstanceName() string

func (*Downstream) Name

func (u *Downstream) Name() string

func (*Downstream) Start

func (u *Downstream) Start(ctx context.Context, msgMeta *module.MsgMetadata, mailFrom string) (module.Delivery, error)

Jump to

Keyboard shortcuts

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