log that email has sent successfully
This commit is contained in:
@@ -51,5 +51,7 @@ func (account *EmailAccount) SendEmail(toEmails []string, subject string, messag
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
logging.Error("Failed to send email")
|
logging.Error("Failed to send email")
|
||||||
logging.Error(err.Error())
|
logging.Error(err.Error())
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
logging.Info("Successfully sent email")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user