Documentation ¶
Index ¶
- func ChangeEmail(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID, newMail string) error
- func ChangePreferredMailType(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID, preferHTML bool) error
- func SetEmail(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID, mail string, ...) error
- type MailInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeEmail ¶
ChangeEmail changes the user's email address
func ChangePreferredMailType ¶
func ChangePreferredMailType(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID, preferHTML bool) error
ChangePreferredMailType changes the user's preferred email mimetype
Types ¶
type MailInfo ¶
type MailInfo struct { Mail db.NullString `db:"email"` MailVerified bool `db:"email_verified"` PreferHTMLMail bool `db:"prefer_html_mail"` }
MailInfo holds information about a user's mail settings
Click to show internal directories.
Click to hide internal directories.