diff --git a/example_test.go b/example_test.go index e37298a..3cafcf2 100644 --- a/example_test.go +++ b/example_test.go @@ -214,6 +214,6 @@ func ExampleSetEncoding() { m = gomail.NewMessage(gomail.SetEncoding(gomail.Base64)) } -func ExampleWithEncoding() { +func ExampleSetPartEncoding() { m.SetBody("text/plain", "Hello!", gomail.SetPartEncoding(gomail.Unencoded)) }