envelope

package
v0.0.0-...-88fb584 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformSenders

func TransformSenders(config *config.ParsedConfig, senders []string, transformations []TransformationResult) (*mail.Address, error)

Transform the original senders to a single new sender for the new message to send

Types

type TransformationResult

type TransformationResult struct {
	Source      *mail.Address
	Transformed []*mail.Address
}

func TransformRecipients

func TransformRecipients(config *config.ParsedConfig, recipients []string) ([]TransformationResult, error)

Transform the original recipients to new recipients based on the configured mapping

Jump to

Keyboard shortcuts

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