Documentation
¶
Index ¶
Constants ¶
View Source
const ( SenderCollection = "emailSenders" RecipientCollection = "emailRecipients" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recipient ¶
type Recipient struct {
Address string `json:"address" bson:"address"`
Note string `json:"note" bson:"note"`
}
func (*Recipient) CheckEmailFormat ¶
type Sender ¶
type Sender struct {
Host string `json:"host" bson:"host"`
Port int `json:"port" bson:"port"`
Username string `json:"username" bson:"username"`
Password string `json:"password,omitzero" bson:"password"`
Email string `json:"email" bson:"email"`
AccessVerified bool `json:"accessVerified" bson:"accessVerified"`
}
func (*Sender) ErasePassword ¶
func (s *Sender) ErasePassword()
func (*Sender) RequirePasswordChange ¶
func (*Sender) ResetAccessVerification ¶
func (s *Sender) ResetAccessVerification()
Click to show internal directories.
Click to hide internal directories.