Remove debug print statement from eml.go

The debug print statement that outputs the content type of the email has been removed from eml.go. This change improves code cleanliness and avoids unnecessary console output in production.
This commit is contained in:
Winni Neessen 2024-06-28 13:33:57 +02:00
parent 0bf3f73e9b
commit 68d0fe9cd3
Signed by: wneessen
GPG key ID: 385AC9889632126E

1
eml.go
View file

@ -256,7 +256,6 @@ ReadNextPart:
// Multipart/related and Multipart/alternative parts need to be parsed seperately
if contentTypeSlice, ok := multiPart.Header[HeaderContentType.String()]; ok && len(contentTypeSlice) == 1 {
contentType, _ := parseMultiPartHeader(contentTypeSlice[0])
fmt.Printf("CONTENT-TYPE: %s\n", contentType)
if strings.EqualFold(contentType, TypeMultipartRelated.String()) ||
strings.EqualFold(contentType, TypeMultipartAlternative.String()) {
relatedPart := &netmail.Message{