This commit is contained in:
Aine
2022-09-23 10:34:25 +03:00
parent 3f5a1cd915
commit bd2237d717

View File

@@ -33,7 +33,7 @@ func (m *msa) newSession(from string, incoming bool) *msasession {
func (m *msa) Login(state *smtp.ConnectionState, username, password string) (smtp.Session, error) { func (m *msa) Login(state *smtp.ConnectionState, username, password string) (smtp.Session, error) {
if !utils.AddressValid(username) { if !utils.AddressValid(username) {
return nil, errors.New("please, provide email address") return nil, errors.New("please, provide an email address")
} }
mailbox := utils.Mailbox(username) mailbox := utils.Mailbox(username)