Method MIME.encode_words_text()

Method encode_words_text

string encode_words_text(array(string|array(string)) phrase, string encoding)


The inverse of decode_words_text(), this function accepts an array of strings or pairs of strings which will each be encoded by encode_word(), after which they are all pasted together.

Parameter encoding

Either "base64" or "quoted-printable" (or either "b" or "q" for short).

See also