mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-25 15:10:48 +01:00
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:
parent
0bf3f73e9b
commit
68d0fe9cd3
1 changed files with 0 additions and 1 deletions
1
eml.go
1
eml.go
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue