jinnrry пре 2 година
родитељ
комит
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...)