jinnrry 2 лет назад
Родитель
Сommit
520a196d23
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      server/utils/send/send.go

+ 2 - 0
server/utils/send/send.go

@@ -111,6 +111,8 @@ func Send(ctx *context.Context, e *parsemail.Email) (error, map[string]error) {
 
 	b := e.BuildBytes(ctx, true)
 
+	log.WithContext(ctx).Debugf("Message Infos : %s", string(b))
+
 	var to []*parsemail.User
 	to = append(append(append(to, e.To...), e.Cc...), e.Bcc...)