Qore Mime Module Reference 1.6
|
Functions | |
string | Mime::mime_encode_base64 (data str, int len=MimeBase64LineLen) |
string | Mime::mime_encode_header_word_b (string str) |
returns a string in "B" ("BASE64") encoding for MIME header string words | |
string | Mime::mime_encode_header_word_q (string str) |
returns a string in "Q" ("quoted-printable") encoding for MIME header string words | |
string | Mime::mime_encode_quoted_printable (string str, bool hdr=False, *string encoding) |
returns a string in "quoted-printable" (or "QP") encoding | |
data | Mime::mime_encode_transfer_data (data mime_data, string enc) |
encodes data according to the given encoding | |
string Mime::mime_encode_base64 | ( | data | str, |
int | len = MimeBase64LineLen |
||
) |
returns a string in "BASE64" encoding according to RFC 2045
str | the string to encode |
len | the maximum line length |
string Mime::mime_encode_header_word_b | ( | string | str | ) |
returns a string in "B" ("BASE64") encoding for MIME header string words
According to RFC 2047
string Mime::mime_encode_header_word_q | ( | string | str | ) |
returns a string in "Q" ("quoted-printable") encoding for MIME header string words
According to RFC 2047
string Mime::mime_encode_quoted_printable | ( | string | str, |
bool | hdr = False , |
||
*string | encoding | ||
) |
returns a string in "quoted-printable" (or "QP") encoding
According to RFC 2045 section 6.7
str | the string to encode |
hdr | use rules for a MIME header (RFC 2047) |
data Mime::mime_encode_transfer_data | ( | data | mime_data, |
string | enc | ||
) |
encodes data according to the given encoding
mime_data | the data to encode |
enc | the encoding to use; see MIME Content Transfer Encoding Constants for possible values (case is ignored) |
MIME-TRANSFER-ENCODING-ERROR | unknown transfer encoding |