mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 05:40:50 +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
|
// Multipart/related and Multipart/alternative parts need to be parsed seperately
|
||||||
if contentTypeSlice, ok := multiPart.Header[HeaderContentType.String()]; ok && len(contentTypeSlice) == 1 {
|
if contentTypeSlice, ok := multiPart.Header[HeaderContentType.String()]; ok && len(contentTypeSlice) == 1 {
|
||||||
contentType, _ := parseMultiPartHeader(contentTypeSlice[0])
|
contentType, _ := parseMultiPartHeader(contentTypeSlice[0])
|
||||||
fmt.Printf("CONTENT-TYPE: %s\n", contentType)
|
|
||||||
if strings.EqualFold(contentType, TypeMultipartRelated.String()) ||
|
if strings.EqualFold(contentType, TypeMultipartRelated.String()) ||
|
||||||
strings.EqualFold(contentType, TypeMultipartAlternative.String()) {
|
strings.EqualFold(contentType, TypeMultipartAlternative.String()) {
|
||||||
relatedPart := &netmail.Message{
|
relatedPart := &netmail.Message{
|
||||||
|
|
Loading…
Reference in a new issue