diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b9a2cf3..767e783 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,12 +4,10 @@
-
-
-
-
-
-
+
+
+
+
@@ -104,7 +102,8 @@
-
+
+
true
diff --git a/client.go b/client.go
index 61b79ee..cef5b18 100644
--- a/client.go
+++ b/client.go
@@ -131,7 +131,7 @@ func WithTLSConfig(co *tls.Config) Option {
// TLSPolicy returns the currently set TLSPolicy as string
func (c *Client) TLSPolicy() string {
- return fmt.Sprintf("%s", c.tlspolicy)
+ return c.tlspolicy.String()
}
// ServerAddr returns the currently set combination of hostname and port
diff --git a/mailmsg.go b/mailmsg.go
index 20d2f1b..92a2ea3 100644
--- a/mailmsg.go
+++ b/mailmsg.go
@@ -3,7 +3,6 @@ package mail
import (
"fmt"
"math/rand"
- "mime"
"os"
"time"
)
@@ -14,7 +13,7 @@ type Msg struct {
charset string
// encoder represents a mime.WordEncoder from the std lib
- encoder mime.WordEncoder
+ //encoder mime.WordEncoder
// header is a slice of strings that the different mail header fields
header map[Header][]string