mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-26 03:32:55 +01:00
parent
ac69bf8ab9
commit
5ffd1e04ef
@ -128,7 +128,7 @@ func (s *SMTPSender) Send(from string, to []string, msg io.WriterTo) error {
|
|||||||
return fmt.Errorf("failed to issue MAIL command: %w", err)
|
return fmt.Errorf("failed to issue MAIL command: %w", err)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if err = client.Mail(from); err != nil {
|
if err = client.Mail(fmt.Sprintf("<%s>", from)); err != nil {
|
||||||
return fmt.Errorf("failed to issue MAIL command: %w", err)
|
return fmt.Errorf("failed to issue MAIL command: %w", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user