logo

class

email::MimeUtil

sys::Obj
  email::MimeUtil

Utilities to deal with all the idiosyncrasies of MIME.

Slots

toEncodedWord

static Str toEncodedWord(Str text)

Encode the specified text into a "encoded word" according to RFC 2047. If text is pure ASCII, then it is returned as is. Otherwise encode using UTF-8 Base64.

Source