Documentation ¶
Index ¶
- type MailRecipients
- func (rr *MailRecipients) AddFromEveEntity(e *app.EveEntity)
- func (rr *MailRecipients) AddFromText(s string)
- func (rr *MailRecipients) Size() int
- func (rr *MailRecipients) String() string
- func (rr *MailRecipients) ToEveEntitiesUnclean() []*app.EveEntity
- func (rr *MailRecipients) ToOptions() []string
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
Click to show internal directories.
Click to hide internal directories.