We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1abe21 commit 9280793Copy full SHA for 9280793
mail/address.go
@@ -14,6 +14,9 @@ type Address mail.Address
14
// String formats the address as a valid RFC 5322 address. If the address's name
15
// contains non-ASCII characters the name will be rendered according to
16
// RFC 2047.
17
+//
18
+// Don't use this function to set a message header field, instead use
19
+// Header.SetAddressList.
20
func (a *Address) String() string {
21
return ((*mail.Address)(a)).String()
22
}
0 commit comments