mailrecipient

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailRecipients

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

A container holding all recipients in a mail

func New

func New() *MailRecipients

func NewFromEntities

func NewFromEntities(ee []*app.EveEntity) *MailRecipients

func NewFromText

func NewFromText(t string) *MailRecipients

func (*MailRecipients) AddFromEveEntity

func (rr *MailRecipients) AddFromEveEntity(e *app.EveEntity)

func (*MailRecipients) AddFromText

func (rr *MailRecipients) AddFromText(s string)

func (*MailRecipients) Size

func (rr *MailRecipients) Size() int

func (*MailRecipients) String

func (rr *MailRecipients) String() string

func (*MailRecipients) ToEveEntitiesUnclean

func (rr *MailRecipients) ToEveEntitiesUnclean() []*app.EveEntity

Returns the mail recipients as unclean EveEntity slice. ID will not be set. And some might not have a category.

func (*MailRecipients) ToOptions

func (rr *MailRecipients) ToOptions() []string

Jump to

Keyboard shortcuts

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