mirror of
https://github.com/axllent/mailpit.git
synced 2025-08-15 20:13:16 +02:00
Update error message
This commit is contained in:
@@ -79,7 +79,7 @@ func Send(from string, to []string, msg []byte) error {
|
|||||||
|
|
||||||
if a != nil {
|
if a != nil {
|
||||||
if err = c.Auth(a); err != nil {
|
if err = c.Auth(a); err != nil {
|
||||||
return fmt.Errorf("error authenticating: %s", err.Error())
|
return fmt.Errorf("error response to AUTH command: %s", err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if err = c.Mail(from); err != nil {
|
if err = c.Mail(from); err != nil {
|
||||||
|
Reference in New Issue
Block a user