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):
%3 acs_mail_lite::send_immediately acs_mail_lite::send_immediately (private) acs_mail_lite::utils::build_subject acs_mail_lite::utils::build_subject acs_mail_lite::send_immediately->acs_mail_lite::utils::build_subject ad_log ad_log (public) acs_mail_lite::utils::build_subject->ad_log mime::qp_encode mime::qp_encode acs_mail_lite::utils::build_subject->mime::qp_encode

Testcases:
No testcase defined.
[ show source ]
Show another procedure: