acs_mail_lite::utils::build_subject (private)
acs_mail_lite::utils::build_subject [ -charset charset ] subject
Defined in packages/acs-mail-lite/tcl/utils-procs.tcl
Encode the subject, using quoted-printable, of an email message and trim long lines. Depending on the available mime package version, it uses either the mime::word_encode proc to do it or local code (word_encode is buggy in mime < 1.5.2 ) A purely tcllib based version would be [mime::word_encode utf-8 quoted-printable $subject] but that would miss the safety-belt for newline handling
- Switches:
- -charset (optional, defaults to
"UTF-8"
)- Parameters:
- subject (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.