mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Change log level inside sendMail() (#28669)
* Change log level inside sendMail()
This commit is contained in:
parent
6cafd45fc9
commit
991debeb0b
@ -292,7 +292,7 @@ func sendMailUsingConfigAdvanced(mail mailData, config *SMTPConfig) error {
|
|||||||
const SendGridXSMTPAPIHeader = "X-SMTPAPI"
|
const SendGridXSMTPAPIHeader = "X-SMTPAPI"
|
||||||
|
|
||||||
func sendMail(c smtpClient, mail mailData, date time.Time, config *SMTPConfig) error {
|
func sendMail(c smtpClient, mail mailData, date time.Time, config *SMTPConfig) error {
|
||||||
mlog.Debug("sending mail", mlog.String("to", mail.smtpTo), mlog.String("subject", mail.subject))
|
mlog.Info("sending mail", mlog.String("to", mail.smtpTo), mlog.String("subject", mail.subject))
|
||||||
|
|
||||||
htmlMessage := mail.htmlBody
|
htmlMessage := mail.htmlBody
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user