// SendEmailChanged sends an email to the old email address (first parameter)
// about a new email address being set (second parameter).
SendEmailChanged sends an email to the old email address (first parameter)
about a new email address being set (second parameter).
// SendEmailChanged sends an email to the old email address ( first parameter ) // about a new email address being set ( second parameter ) .
func (m *Manager) SendEmailChanged(ctx context.Context, oEml, nEml string) {
	e := hermes.Email{
		Body: hermes.Body{
			Title: "Your email address was successfully changed.",
			Intros: []string{
				fmt.Sprintf("From now on the main email address will be: %s", nEml), 
			},
		},
	}
	eBody, err := m.herm.GenerateHTML(e)
	if err != nil {
		logutil.Critical(m.log, err).Msg("cannot generate email changed email")
		return
	}
	m.send(ctx, oEml, "Email address changed", eBody)
}
func ( m * Manager ) SendEmailChanged ( ctx context . Context , oEml , nEml string ) { e := hermes . Email { Body : hermes . Body { Title : " " , Intros : [ ] string { fmt . Sprintf ( " " , nEml ) , } , } , } eBody , err := m . herm . GenerateHTML ( e ) if err != nil { logutil . Critical ( m . log , err ) . Msg ( " " ) return } m . send ( ctx , oEml , " " , eBody ) }
SendEmailChanged sends an email to the old email address (first parameter)
about a new email address being set (second parameter).
SendEmailChanged sends an email to the old email address ( first parameter ) about a new email address being set ( second parameter ) .
// TODO obfuscate email?