InternetAddress.setCharset

Set the charset to use for encoding the name of the mailbox or group.

class InternetAddress
void
setCharset
(
string charset = null
)

Parameters

charset string

the charset to use when encoding the name or null to use the defaults